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

'Show parent issue...' scripted field isn't indexed at time of child issue creation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Done
    • None
    • 5.5.0
    • Script Fields
    • None
    • 0

    Description

      To reproduce:

      • Set up a 'Show parent issue in hierarchy' scripted field (call it 'parent issue field') with Target Issue Type being 'Story' and with 'Subtask Parent' as the only parent navigator.
      • Find or create a Story issue (call it ISSUE-123) and create a subtask under it.
      • Do a JQL search for "parent issue field" = ISSUE-123.

      Expected: the new subtask appears in the results.

      Actual: the subtask doesn't appear.

      This is probably because the subtask gets indexed after it has been created, but before the parent-subtask link has been set up. Therefore the scripted field, when called, cannot find the parent issue and so returns a null value.

      Attachments

        Activity

          People

            jechlin Jamie Echlin
            jchoules Joanna Choules
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: