Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confiform isn't transitioning Jira stories on update

Erin Smith
Contributor
October 6, 2022

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.

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
October 7, 2022

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

Erin Smith
Contributor
October 7, 2022

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"?

Alex Medved _ConfiForms_
Community Champion
October 9, 2022

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 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events