Hi Boston,
I have a need to update linked issues when an issue is updated. I am looking for help writing a listener that will update the linked issues when the original issue is updated/edited.
I considered doing this via a transition, but there are several fields that need to be updated and I could not find a plugin that would update multiple fields and work in JIRA Cloud. Given my particular use case, I am open to suggestions as to the best way to do this.
Here is what I have:
JIRA Cloud
Script Runer for JIRA Cloud
JIRA Misc Workflow Extensions fro JIRA Cloud
Issue Hierarchy:
Initiative
Epic
Story
In Project A, a Story is created - ABC-1. When that Story transitions to In Progress, a new Initiative is created in Project B - BDF-2. The "relationship" between these two issues is "relates to".
When the Initiative - BDF-2 in Project B, is transitioned to To Do, an Epic is created in Project C - CGH-3. The "relationship" between these two issues is "Parent Link" (from JIRA Portfolio).
When the Epic - CGH-3 in Project C, is transitioned to To Do, 5 Stories are created in Project C. The "relationship between the Epic and Stores is the "Epic Link"
As each of these issues are created, the Initiative, the Epic, and the Stories, all the fields from the original Story in Project A are copied to each issue. Each Project represents a different team, each with their own work that needs to be completed and there own Acceptance Criteria.
Here's the fun part: If the original issue - ABC-1 in Project A - is in the status In Progress or Done, and the issue is edited/updated, that update needs to push to the Initiative BDF-2 in Project B, the Epic CGH-3 in Project C, and all 5 Stories in Project C.
Any help would creating the scripts for the Listeners be greatly appreciated.
In addition, if there is a better way of doing this, we are open to suggestions. Along with the Listeners, we are looking at workflow transitions and post functions. The "hold back" on this process is the number of fields that need to be updated. I have not found a plugin that allows for multiple field updates and works in JIRA Cloud. There are 10+ fields that may be updated.
Jeanne
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.