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

"Show parent issue in hierarchy" Script Field breaks when target issue has a parent

    Details

    • Sprint:
      SR4J Sprint 85, SR4J Sprint 86
    • Critical Points:
      5.3

      Description

      When using the "Show parent issue in hierarchy" built-in Script Field, if your target parent issue has a parent of its own then the field will fail to populate on all of the target issue's children. 

      Steps to Reproduce:

      1. Set up a basic project
      2. Go to the Script Fields configuration page and add a new "Sho parent issue in hierarchy" field with the following config:
        1. Field Name: Bug Link
        2. Field Description: ----
        3. Field Note: ----
        4. Target Issue Type: Bug
        5. Parent Navigators: "Links: Blocks"
      1. Create two issues, one of issue-type Bug and the other of issue-type Task
      2. Link the Task to the Bug with an "is blocked by" link and notice that the Script Field appears on the Task with the key of the Bug.
      3. Now create another issue with the issue-type New Feature
      4. Link your Bug to the New Feature type issue that you've just created with an "is blocked by" link.
      5. Navigate back to the Task issue that you created on step 3 and notice that the "Bug Link" field is no longer present on the ticket.

        Attachments

          Issue Links

            Structure

              Activity

                People

                Assignee:
                mclark Matthew Clark
                Reporter:
                aderossett Aidan Derossett
                Votes:
                1 Vote for this issue
                Watchers:
                9 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Structure Helper Panel