I have a set of issues of type: Story, Bug, Task, Spike.
Each issue is associated with a Custom Field called ThisTeam which is a Select List (single choice). The list of possible values is: TeamA, TeamB, TeamC, TeamD, TeamE.
Each epic is associated with a Custom Field called WhichTeams which is a Select List (multiple choices). The list of possible values is: TeamA, TeamB, TeamC, TeamD, TeamE.
I want a rule (that runs nightly) that will scan through all EPICs, setting the Custom Field WhichTeams based upon the ThisTeam value for those issues associated with that the EPIC.
As an example #1:
- Assume EPIC-1 includes:
- Story-1 (where ThisTeam = TeamA)
- Bug-2 (where ThisTeam = TeamB)
- Task-3 (where ThisTeam=TeamD)
- Spike-4 (where ThisTeam = TeamA)
- The automation would set WhichTeams in EPIC-1 to: TeamA, TeamB, TeamD
As an example #2:
- Later, assume EPIC-1 now includes:
- Story-1 (where ThisTeam = TeamA)
- Bug-2 (where ThisTeam = TeamB)
- Spike-4 (where ThisTeam = TeamA)
- Story-5 (where ThisTeam = TeamE)
- Note: Task-3 was moved to a different EPIC
- The automation would set WhichTeams in EPIC-1 to: TeamA, TeamB, TeamE
I was thinking of doing this as a scheduled job. But if it could be done at the time the event fires that's fine as well. I have ~30 Jira Projects and ~ 20K tickets using this configuration.