Jelly TransitionWorkflow tag in forEach loop sets wrong assignees

XMLWordPrintable

    • 3.07

      If we have a Jelly script, running a filter that results >1 issue, and transitioning them, eg:

      <JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib" xmlns:core="jelly:core" xmlns:log="jelly:log">
              <jira:RunSearchRequest filterid="10020" var="issues" />
              <core:forEach var="issue" items="${issues}">
                  <log:warn>Transitioning issue ${issue.key}</log:warn>
                  <jira:TransitionWorkflow key="${issue.key}" workflowAction="Resolve Issue"/>
              </core:forEach>
      </JiraJelly>
      

      Then all transitioned issues will have their assignee set to that of the first encountered issue.

        1. changegroup.png
          12 kB
          Jeff Turner

              Assignee:
              Michael Tokar
              Reporter:
              Jeff Turner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: