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

hi,

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

This widget could not be displayed.

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 ? 

This widget could not be displayed.

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

This widget could not be displayed.

Could you try to assign one ?

This widget could not be displayed.

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.

This widget could not be displayed.

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). 

This widget could not be displayed.

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

This widget could not be displayed.

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 Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

485 views 3 18
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