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

Automate a transition using a custom fields value? Edited

Hello,Is there a way to automate a transition using a comparison of a custom number fields value? My goal is to to edit a custom issue that has a hidden field called Working Hours it's default value is 0. The user creates the issue and the agent edits that field so when the issue is edited and updated the automation would take place and decide: IF Working Hours > 40 then go to a management approval transition Else if Working Hours <= 40 it goes to a In Progress transition. 

2 answers

You need an app to do it. I use ScriptRunner to do just that, but I bet Power Scripts would work too. ScriptRunner has a built in listener that can fast forward an issue if the condition is met.

0 votes
Gaston Valente Community Leader Feb 02, 2018

Angel,

you can achieve this with a custom listener that listens the issue updated event 

This can be implemented with script runner or a similar plugin , there a lot of code samples

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Service Desk

Tell us how you've implemented Change Management

Hello Community 👋, I'm a product manager at Atlassian, looking at improving change management capabilities across our products. In particular, we're looking at bridging the gap between Dev & ...

336 views 0 7
Join discussion

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