Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-36373

Adding Log Work to Issue transition screen prevents auto-transition script from executing

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Answered
    • None
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    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

          Activity

            People

              Unassigned Unassigned
              7cf9f978f4e4 Patrick Richards
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: