Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automate a transition using a custom fields value?

Angel Casas February 2, 2018

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

0 votes
Gaston Valente
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 2, 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

0 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 2, 2018

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events