Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-11459

When JIRA Agile updates sub-task's Sprint field, no event is sent inside JIRA

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • None
    • JIRA 6.3
    • 1
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Software Server. Using JIRA Software Cloud? See the corresponding suggestion.

      If a Story that has sub-tasks is assigned to another Sprint, JIRA Agile changes Sprint field for the sub-tasks too. However, no event is sent for the sub-tasks in the JIRA event system - neither ISSUE_UPDATED, nor GENERIC_EVENT.

      This presents a problem for other plugins like Structure, which listen for the events and react to them. In particular, Structure's synchronizers are not able to maintain correct representation of the Sprints if its filter synchronizer does not check the updated issue.

      Reproduction sequence:
      1. Create a story in the backlog
      2. Create a sub-task for that story
      3. Assign story to Sprint 1, observe: sub-task is also assigned to Sprint 1

      Expected: internal event is sent for the story and for the sub-task (issueUpdated or issueGenericEvent)
      Observed: the event is sent only for the story

      The observation can be done by registering an IssueEventListener. You can also use Structure to verify that the event is not sent:

      A. Install Structure
      B. Open Structure | Manage Structure, click "Settings" for the structure in the "Sync With..." column
      C. Install "Filter" synchronizer with a JQL condition sprint = "Sprint 1"
      D. Resync the synchronizer and open the structure to see all issues from Sprint 1
      E. Continue with the reproduction sequence 1-3 above.

      Observe: only the Story is added to the structure, but not the sub-task

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bbf762edcc79 Igor Sereda [ALM Works]
              Votes:
              17 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: