I have a Confiform that creates a Jira record. That form can also edit the record. When certain selections are made I want the form to transition the Jira record to the appropriate status. I am currently using the code found on this Atlassian ticket: https://community.atlassian.com/t5/Jira-questions/JIRA-How-to-change-issue-status-via-rest/qaq-p/528133
I have found the transition ID for one of my transitions is 111, so I've replaced "id": "5" with "id": "111".
The rest of the code works, it updates the comment field, but it doesn't actually transition the record.
This is my code inside an "On Modified - Update Jira Issue" IFTTT:
{ "update": { "comment": [ { "add": { "body": "Attested on NOW()" } } ] }, "transition": { "id": "111" } }
Any help getting the transition functionality to work is appreciated.
It is hard to debug such issues, but the only thing I can say is that the transition id might be not correct
Try saving back the response you get from this IFTTT call (saving it back to some textarea field)
Alex
Hi Alex,
The $iftttResult is just giving me the Jira ID again, it's not giving any kind of error message or useful information.
I can transition the records manually.
Here is the transition data pulled from the system:
{"expand":"transitions","transitions":[{"id":"111","name":"ManagerAttested","to":{"self":"https://track.td.com/rest/api/2/status/79625","description":"This status is managed internally by Jira Software","iconUrl":"https://track.td.com/","name":"Manager Attested","id":"79625","statusCategory":{"self":"https://track.td.com/rest/api/2/statuscategory/4","id":4,"key":"indeterminate","colorName":"yellow","name":"In Progress"}}}]}
Could this be a problem because we're using "Simplified Workflow"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I have no idea what is a "Simplified Workflow", but I think the message returned with the response hints that this transition might not be "transitionable" via API - see the description
This status is managed internally by Jira Software
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.