How to set a resolution for multiple transitions at once?

Leon Gumba
Contributor
September 20, 2024

Hi everyone!

I've got a question about workflow transitions in Jira. I've got 4 different transitions that lead to the Canceled status, and I want to set the Resolution field via a post function. Do I need to add the post function to each transition separately, or is there a way to handle this all at once?

There is this "Allow all statuses to transition to this one" option which allows you to set the post function to update the resolution every time the issue is transitioned to the target status but since I'm not using it in this workflow, any suggestions on how to handle this?


Screenshot 2024-09-20 123602.png

1 answer

1 accepted

6 votes
Answer accepted
Tomasz Kowalczyk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 20, 2024

when you're adding transition don't add new transition but click reuse transition. Then just add setting resolution to that transition

Leon Gumba
Contributor
September 20, 2024

@Tomasz Kowalczyk thank you so much! That did the trick. I created 4 different transitions, but reusing just one allowed me to set the same post function to all four at once, which saved me from manually clicking through each of them.

The sad part now is that I need to set up 4 transitions from Canceled back to the initial statuses, and I can't reuse the transition since the destination statuses are different. So, I'll need to set the post functions manually for each one.

But thanks again for helping me tackle the first part!

Like Kai Becker likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events