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
What would i do ?Screenshot from 2016-02-15 14-45-25.pngScreenshot from 2016-02-15 14-46-58.png
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you try to assign one ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.