Skip to content

Commit

Permalink
For work item type, using enum id rather than enum name
Browse files Browse the repository at this point in the history
  • Loading branch information
bcdasilv committed Nov 1, 2023
1 parent bf7a11a commit 4297178
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public static WorkItemForJson castWorkItem(
workItemForJson.setTitle(workItem.getTitle());
}
if (workItem.getType() != null) {
workItemForJson.setType(workItem.getType().getName());
workItemForJson.setType(workItem.getType().getId());
}
if (workItem.getUpdated() != null) {
workItemForJson.setUpdated(workItem.getUpdated().toInstant().toString());
Expand Down

0 comments on commit 4297178

Please sign in to comment.