Azure Logic App - Update Jira ticket field

Phillip C
Contributor
July 14, 2022

I'm using Azure Logic app with the Jira integration. However, I don't know how to use the 'edit issue' operation.

 

Essentially I'd like to update the status and resolution of the ticket. How do I perform this?

Sorry as this would seem like such a basic question/issue, but there isn't any help or guides from either MS or Jira on this part.

image.png

 

Edit*

So it looks like it just needs JSON in that update field?

Trying to add something like this to add a label and then transition the status to Done - Resolved. But no luck on the below either. I'm definitely missing something super simple...

{
"labels": ["Automated"],
"status": {
"name": "Resolved",
"statusCategory": {
"name": "Done"
}
}
}

 

2 answers

0 votes
Khoa Truong December 20, 2022

According to this other issue, you need to cue a transition in order to change the status of an issue: https://community.atlassian.com/t5/Jira-questions/How-to-change-the-issue-status-by-REST-API-in-JIRA/qaq-p/850658?utm_source=dm&utm_medium=unpaid-social&utm_campaign=P:online*O:community*I:social_share*

You should try using the Transition ID parameter instead of update. Set the value to the ID of the transition you want to use. You can find the ID in the workflow connected to the issue type.

0 votes
Mohammad Rashidi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 9, 2022

Hi,

I have the same challenge. Have you been able to solve it?

Thanks,

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events