Transitioning to a status automatically

Hi,

is it possible to transition automatically to a specific status according to the completion of a custom field?

Thanks

Melissa

3 answers

I think it's doable as a system admin; you go to "Add-Ons", then "Script Listeners", and define a "Fast-track transition an issue" listener.  Select your project(s), the "Issue Updated" event, and a Condition like:

cfValues['Some Custom Field'] == 'Some Value'

And then the appropriate Action (making certain to select the specific action relevant to the workflow).

Hmm, I just noticed the "jira-servicedesk" portion of this; disclaimer, I know nothing about that specifically, so I have to hope my answer is relevant.

You could do this with the JIRA Automation plugin.

Choose trigger type "Issue Event Trigger", Issue Event "Issue Updated" and JQL Expression to match the value that you want, e.g. <yourcustomfield> = '<value you want>'

 

Then define an action to transition as you require. Make sure you get the right workflow and transition with the right id.

 

thanks to both of you for your very very helpful answers smile

it works

melissa

one more question: would it work if the value is preset for a custom field in the project X which would transition to a status in the project Y?

and would it be possible to configure this automatic function for the following example: I create an issue and then a subtask inside this issue. Can i tell if I close the substask, then my issue will be set in Resolved automatically? Is tehre a way to precise that the condition is on the subtask? thanks

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

546 views 6 12
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