Change the custom field value based on status.

We have close to 10 statuses in a workflow. We would like to have a custom field with 3 values, depending on the statuses we would like to change the custom field value.

The objective is to group statuses and have only three values in the issue statistics gadget.

2 answers

1 accepted


You can add a post function to the transition of an issue that will change the value of the custom field everytime it was clicked.

That way, the value of the custom filed will be changed depending on the status.

ex. (let's say your 3 values in the custom field are "Group 1", "Group 2", "Group 3" and you have the statuses: "Open", "Awaiting Review", "In Progress", "Passed Testing", "Deployed" & "Closed")

Group 1:


*Awaiting Review

Group 2:

* In Porgress

* Passed Testing

Group 3:

* Deployed

* Closed

Using the example values above, once the "Awaiting Review" status is changed into "In Progress" or "Passed Testing" the value of the custom field will be changed into "Group 2"; on the other hand, the custom filed will have a value "Group 3" if the status is changed either to "Deployed" or Closed

Hope this helps..


Thanks for the solution.

We already have many issues created. Any solutions for the existing issues.

With the same concept above.. create a transition (one that can only be seen by selected group) that will return the issue to its current status but will enact the post function to change the value of the custom field intended for that status. Then just use the bulk change -> Transition Issues -> (Make sure to click the transition that will return the issue to its current status.).

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,316 views 14 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot