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
TAGS
Community showcase
Posted in Jira Service Desk

How has Jira Service Desk increased productivity in your org?

Hi Jira Service Desk community, Atlassian is on a mission to unleash the potential of all teams, and we know that tools are just one piece of that puzzle. With Jira Service Desk, we have productiv...

178 views 0 3
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