Uploaded image for project: 'Jira Align'
  1. Jira Align
  2. JIRAALIGN-4235

Feature: associating a Feature that has a Theme to an Epic, will leave traces of the older Theme on the Feature

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • No

      Issue Summary

      If a Feature is created with Theme 1, it will display it accordingly, but once this Feature is associated with an Epic (thru the Epic slide-out panel) that is linked to Theme 2, the Feature will display the Theme 2 on its panel, but the Feature grid will continue to display the Theme 1 (as the association between the Feature and Theme 1 will continue to exist).
      If the Feature is associated with the Epic through its own panel, the same doesn't happen, as the link between the Feature and Theme is removed.

      See the Feature created with Theme 3 and how the grid displays it:

      And what happens when it is associated with the Epic through the Epic slide-out panel:

      Steps to Reproduce

      1. Create an Epic 1 with a Theme A
      2. Create a Feature 1 with Theme B
      3. Go to the Epic 1 and associate the Feature 1 to it
      4. See how the Feature displays Theme A on its panel
      5. See how the Feature Grid shows the Theme B
      6. Do an API call to Feature 1 and see how it shows that the Theme B is still associated

      Expected Results

      The Feature will have its link with the old Theme cleared and display the parent link

      Actual Results

      The link between Feature x Theme continues to exist and while the slide-out panel shows one Theme, Feature Grid shows the other

      Workaround

      To fix the data, an API call using the method PATCH can be done to the Feature endpoint to null the Theme, using the content similar to the below:

      [
          {
              "op": "replace",
              "path": "themeId",
              "value": null
          }
      ]
      

        1. audit_1.png
          audit_1.png
          709 kB
        2. Feature_1.png
          Feature_1.png
          642 kB
        3. Feature_2.png
          Feature_2.png
          632 kB
        4. grid_1.png
          grid_1.png
          136 kB
        5. grid_2.png
          grid_2.png
          555 kB

            kbyrd@atlassian.com Kyle Byrd (Inactive)
            a8cff3407f0b Diego Larangeira
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: