diff --git a/com.teamscale.polarion.plugin/src/com/teamscale/polarion/plugin/utils/CastUtils.java b/com.teamscale.polarion.plugin/src/com/teamscale/polarion/plugin/utils/CastUtils.java index 65e93bb..7d955a5 100644 --- a/com.teamscale.polarion.plugin/src/com/teamscale/polarion/plugin/utils/CastUtils.java +++ b/com.teamscale.polarion.plugin/src/com/teamscale/polarion/plugin/utils/CastUtils.java @@ -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());