Uploaded image for project: 'Jira Software Cloud'
  1. Jira Software Cloud
  2. JSWCLOUD-21741

The discrepancy in the behavior of the Release option

    XMLWordPrintable

Details

    Description

      Issue Summary

      There is a discrepancy in the behavior of the Release option.

      Steps to Reproduce

      Observation:

      1. Release from the Board:

      Creating a New Version from the board will release all the issues in the rightmost column, even if the resolution is not set.

      2. Release from Project menu > Releases > (...) > Release: Will show that all issues in Done status will be Released. If the resolution is not set for the completed issues, the issues will not be released. Incorrect information is shown about the number of issues that'll be released.

      With further testing we noticed releasing issues using Release from Project menu > Releases > (...) > Release depends on whether there are any issues in the status other than Done Category.

      Steps to reproduce this issue:

      With no resolution set and having a few incomplete issues:

      1. Create a Release version (say V1) in the project: Releases > Create version
      2. Ensure Resolution is not added to the Done status
      3. Add this release as a Fix version to a few issues, move a few of them to Done status, and leave a few issues in In progress or any other status
      4. Create another version, say V2
      5. Release V1 and move the unresolved issues to V2

      Result:

      No issues will be released, but the prompt showed the issues in Done status will be released.
       Release - issues in progress.mov

       

      With no resolution set and all issues moved to Done Status:

      1. Move all the issues to Done status
      2. Release V2

      Result:
      All the issues will be released.

      Release - all issues in done status.mov 

       

      The issue is reproducible:
      Only when resolution is not set for the statuses belonging to Done Category and there are unresolved issues in the current release.

      The issue is not reproducible:

      1. When the resolution is set for the statuses belonging to Done Category and if there are unresolved issues
      2. When the resolution is NOT set for the statuses belonging to Done Category and if there are no unresolved issues in the release.

      Workaround:

      Use Release Hub to release the version 

      1. Run a search query that will bring all issues in the Done column that needs to be released
      2. Bulk edit them to set a resolution.
        OR
      3. Create a post-function on your workflow on the Close/Done transition to the "Update field" to set a proper resolution
      4. Run a search query that will bring all issues released and bulk transition then through this status again.

       

      3. Release from Release Hub > Release: This will show only the issues with the resolution set as the issues that will be released. All the completed issues without resolution will be shown as Unresolved.
      Release Hub.mov

      Expected Results

      Release from Project menu > Releases > (...) > Release and Release from Release Hub > Release should show the same results

      Actual Results

      There is a discrepancy in the behavior of the Release option

      Workaround

      Always release version from Release Hub to know the right details of the issues that'll be released. Ensure resolution is set to the statuses mapped to the Done column.

      Attachments

        1. Release - all issues in done status.mov
          4.34 MB
        2. Release Hub.mov
          5.70 MB
        3. Release - issues in progress.mov
          15.68 MB

        Activity

          People

            Unassigned Unassigned
            a82fc827eb8d Tulsi
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: