Fast-Track Transection Events -> All issue event executing many times


I have a problem. i created script listener Fast-track transection listener. i set events All Issue Types and set to condition "issue.getEstimate() == 0"  when the issue's estimate time is zero, this listener executing many times randomly 200 - 300 times. 

When i trying event to set "work logged on issue" this time: if i logged on workflow steps listener executing successful but issues status doesnt refresh sad

What would i do ?Screenshot from 2016-02-15 14-45-25.pngScreenshot from 2016-02-15 14-46-58.png

7 answers

Hi Semi,

I would propose to go with your second solution (catch only work logged on issue events). Can I ask if you have assigned a screen during that transition ? 

Hi Thanos,

We dont use any screen on this transition. it will happen instantly. I added detailed pictures



Screenshot from 2016-02-17 13-33-26.png

Screenshot from 2016-02-17 13-33-53.png

Could you try to assign one ?

i assigned default screen.  i set ScriptListener's event "Work Logged on Issue". Same problem still goes on. Sometime status change immediatly, sometimes require refresh page, sometimes doesnt change.

and is the set remaining estimate in this screen ? I mean if you manually transition the issue from let's say commit needed to remaining estimate zero status, can you set the estimate ? I have seen this issue before (the transition happens but the 'UI is stacked' in the previous status). 

i use condition on Remaining estimate is zero transition. The condition is "Hide transition from the user (the transition can be triggered only programmatically or from a workflow function)." So; while flow goes on, if remaining estimate = 0 issue's status change automaticly, screen doesnt shown anyone.  İn JIRA 6.2.3 and Script Runner 2.1.17 this scenario working perfectly. When i upgrade Jira to  7.0.5 transition happens but status doesnt change always

The problem is you are getting into an infinite loop. You are listening for all issue events (you said). The fast-track puts the issue through a transition which fires an event, which is caught by the listener, etc...

Just fire when the estimate has changed... there is an example for that if you click Expand Examples.

Hi Jamie,

I browse the examples about fast-track. When i set the events "work logged on issue" this time transition, executing once time and succesfully but status doesn't refresh. I refresh the page status still same. Look that picture


Screenshot from 2016-02-23 11-44-58.png

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

449 views 8 26
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