Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-766

cannot copy Fix Version/s field in post function

    Details

    • Critical Points:
      0

      Description

      In workflow post functions on a transition, when creating a function of the type "copy value from other field", selecting the field "Fix Version/s" as target, and the same field from parent issue as source, the function won't work. When a subtask is created the "Fix Version/s" field will be empty.
      Solved this with a simple custom script:

      import com.atlassian.jira.issue.MutableIssue

      MutableIssue issue = issue
      issue.fixVersions.addAll(issue.parentObject.fixVersions)

        Attachments

          Activity

            People

            Assignee:
            jechlin Jamie Echlin
            Reporter:
            Robin_Svenhard Robin Svenhard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: