Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-18298

Issue link creation should fire an issue updated event

    XMLWordPrintable

Details

    • 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

      I'm doing some (significant) plugin work a our company (we do have an enterprise edition) to provide more functionality between linked issues. One of the key hassles I am facing however is that at current, there is no way to create a listener that can detect changes to an issue's linked status.

      Tracing through the JIRA source, it appears that this function is being deliberately muted as com.atlassian.jira.issue.link.DefaultIssueLinkManager.createChangeItem(GenericValue, ChangeItemBean, User) deliberately sets the created IssueUpdateBean.dispatchEvent to false.

      Unfortunately, doing this means that I need to manually detect changes in the linking status... a rather painful operation as I then need an extra service, which polls the links manager and attempts to find any changes. I researched, but was unable to find the reason for this IssueUpdateBean being muted.

      This is partially a request, partially a query... why has this functionality been implemented this way? Is there a better way than what I am doing (I really do hope so)... and are there any intentions to change this?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              4bf081a49fc4 Philip Peitsch
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: