Hi
We're using ScriptRunner.
On a workflow I've added a "Post Function" to the "Create Transition". With the Fast Track transition issue method I would like to move the Issue in a different transition based on the summary.
This doesn't work:
CorrelationId: 43cb2379-6c37-405d-a564-920ffa375a65 RUN Script identifier: 37bc79c7-2c73-48d5-91dd-eb23bcd5c0fe com.adaptavist.sr.cloud.workflow.FastTrackIssue ('Create' transition made for issue DIV-92) Took: 900ms Logs: 2018-01-25 16:54:02.627 INFO - Serializing object into 'interface java.util.Map' 2018-01-25 16:54:02.659 WARN - POST request to /rest/api/2/issue/50570/transitions returned an error code: status: 400 - Bad Request body: [errorMessages:[Can't move (DIV-92). You might not have permission, or the issue is missing required information. If you keep having this problem, contact your Jira Administrator.], errors:[:]] 2018-01-25 16:54:02.661 INFO - POST /rest/api/2/issue/50570/transitions asObject Request Duration: 640ms 2018-01-25 16:54:02.681 ERROR - assert resp.status == 204 | | | | 400 false status: 400 - Bad Request body: [errorMessages:[Can't move (DIV-92). You might not have permission, or the issue is missing required information. If you keep having this problem, contact your Jira Administrator.], errors:[:]] 2018-01-25 16:54:02.699 ERROR - Class: com.adaptavist.sr.cloud.workflow.FastTrackIssue, Config: [className:com.adaptavist.sr.cloud.workflow.FastTrackIssue, uuid:37bc79c7-2c73-48d5-91dd-eb23bcd5c0fe, condition:"sfd" in issue.fields.labels, transitionId:301, transitionName:, executionUser:INITIATING_USER]
Does any body has an advice? The script runs with the users permissions.
Cheers
Roger
HI @Roger Wicki
Please could you let me know if this issue is resolved? I am facing the same problem.
Best regards,
Abhiram
Hey Roger,
so the condition is satisfied with the label "sfd" because the issue has got the label and the user creating the issue also has the Transition Issues permission in the project, correct?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, if I start the transition manually in JIRA I have no permission issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.