Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-36373

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

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? 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: