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

With a postfunction accessing issue.getFixVersion, having a transition screen with versions causes an issue on the version returned

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 9.1.0, 9.4.14
    • Issue - Others

    Description

      Issue Summary

      Be given a postfunction accessing issue.getFixVersions(). If the fix versions in the issue has only one archived version, that version is not returned. However, when the version field contains both archived and unreleased versions, all versions are returned which is the expected behavior. This only occurs if there's a transition screen. If there's no transition screen the behavior is normal.

      Steps to Reproduce

      1. Create a postfunction and call issue.getFixVersions().
      1. Create a transition screen containing that field (fixVersions).
      1. add on an issue 2 fix versions.
      1. mark one as released.
      1. transition the issue, and the issue occurs.

      Expected Results

      All the versions are returned of the postfunction.

      Actual Results

      The archived version is not returned.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Activity

          People

            Unassigned Unassigned
            d6427b6fb657 Guilherme Bueno
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: