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

1 vote
Accepted answer

Hello,

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:

*Open

*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..

Hi,

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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,079 views 4 9
Read article

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