Example #1
0
 void storeTimestampOfLastExport(ODocument workItem) {
   store.setFields(
       workItem, //
       of(
           FieldNames.JIRA_EXPORT_TIMESTAMP,
           StorageQuery.getField(workItem, FieldNames.MODIFIED, Date.from(Instant.now()))));
 }
Example #2
0
 void storeReference(Issue jiraIssue, ODocument workItem) {
   store.setFields(
       workItem, //
       of(FieldNames.JIRA_KEY_LINK, jiraIssue.getKey()), //
       of(FieldNames.JIRA_ID_LINK, jiraIssue.getId()));
 }