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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,994 views 2 7
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