I am writing a plugin to import issues on JIRA from another tracking systems.
I am stucking with this problem, after that an issue is created I got this WARNING in logs:
"... [jira.issue.transitions.TransitionLinkFactory] !!! Issue PKEY-XY has no workflow ID !!!"
Also I do not have any workflow actions displayed on the issues created.
Piece of code:
MutableIssue issue = issueFactory.getIssue();
issue.setProjectId();
...
issueManager.createIssue(reporter, issue);
Should I also need issue.setWorkflowId(Long value)? How to get the Long value?
Thanks.
I have sorted this out... I had this line in my code before the createIssue statement:
issue.store();
Removing it I am now able to get the workflow_id field populated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.