Details
-
Suggestion
-
Resolution: Answered
-
None
-
None
Description
NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.
Hello,
I have found that adding Log Work to an issue transition screen prevents auto-transition scripts (from the Script Runner plugin) from executing. This was discussed in more detail in this Answers post: https://answers.atlassian.com/questions/192003/auto-transition-an-issue-when-remaining-estimate-is-0?page=1#comment-215515
Below is the specific scenario in which I discovered this:
This works:
On a working existing transition, I have a number of fields including "Remaining Estimate" BUT NOT "Log Work".
This transition fires a Generic Event
I have a "Fast-track transition an issue" script listener set up to listen for Generic Events where the condition is
issue.estimate == 0
The script is designed to execute a separate (shortcut) transition that moves the issue to a closed status, when this condition is met.
This is done by the user changing the Remaining Estimate field to 0 in the original transition.
This does NOT work:
On a working existing transition, I have a number of fields including "Remaining Estimate" AND "Log Work".
This transition fires a Generic Event
I have a "Fast-track transition an issue" script listener set up to listen for Generic Events where the condition is
issue.estimate == 0
The script is designed to execute a separate (shortcut) transition that moves the issue to a closed status, when this condition is met.
This is done by the user changing the Remaining Estimate field to 0 in the original transition.
This also does NOT work:
On a working existing transition, I have a number of fields including "Remaining Estimate" AND "Log Work".
This transition fires a Log Work Event
I have a "Fast-track transition an issue" script listener set up to listen for Log Work Events where the condition is
issue.estimate == 0
The script is designed to execute a separate (shortcut) transition that moves the issue to a closed status when this condition is met.
This is done by the user Logging Work that brings the Remaining Estimate field to 0 in the original transition.
hope that helps. It's really just that it works without the "Log Work" field on a transition screen but as soon as that's added it no longer works.
Thanks,
Pat
Attachments
Issue Links
- relates to
-
JRACLOUD-36373 Adding Log Work to Issue transition screen prevents auto-transition script from executing
- Closed