Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira Workflow with one or two parties to approve a ticket based on the value of a custom field

Hi all,

it would be kind if you support me in designing an approval workflow in JIRA (not helpdesk).

Each story has a custom select field like:

Relevant for:
(value1) Party 1
(value2) Party 2
(value3) both parties

So a story has to be approved by one or both parties. If both parties has to approve there is no rule which one does it first.

This means for value 1 or 2, only one party has to give the approval and then the story gets the next status.

Or for value 3, that the story only receives the next status as soon as both parties have confirmed.

How can I implement this best?

Thanks for your help!

1 answer

1 accepted

2 votes
Answer accepted

Hi @AB 

Since you are on server and also have ScriptRunner for Jira you can definitely build this logic in your workflow's condition. I guess Party 1 or 2 is a group or you have mapped somewhere who is in Party 1 or Party 2. May be you can use Project roles here. If you need staged approval then you can use a hidden custom field to track this information and use a scripted condition to allow a transition based on that custom field's value. I don't have an entire script to share but I did share a similar use case here where I explained how to build an approval system using ScriptRunner for Jira.

I hope it helps.

Ravi

Hi Ravi, your hints are helpful - I will check this on our test instance!

Hi Ravi,

thank you, your description helped me! I did similar to your video, except that at the end I automated the release transition with a condition.

Cheers,
Alexander

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

163 views 1 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you