Transition linked issues to done
Issue #798
resolved
Lets say I have 2 issues issue-1 and issue-2 and, issue-1 related to issue-2. I would like to know if we can implement this when issue-2 is DONE can we automatically move the issue-1 to DONE as well (considering both the issues are from different projects)
Comments (6)
-
repo owner -
reporter thank you Fidel that worked!!
-
reporter - changed status to resolved
thanks for the help!!
-
reporter Hi Fidel,
One more question, lets say we have a epic and the epic had linked issue from different projects so I want to close the epic once all the linked issues are done how can this be achieved.
-
repo owner Hi @Bkappala,
You can do it using Write field on linked issues or subtasks post-function in transition to Done status in the workflow of all the issue types depending on the epic:
- Target status: Issue status
- Source type: parsed text (basic)
- Source value:
Done
- Issue link types: has Epic
- Conditional execution:
count(linkedIssues("is Epic of", linkedIssues("has Epic"))) = count(filterByStatus(linkedIssues("is Epic of", linkedIssues("has Epic")), "Done")) + 1
-
reporter good one thank you
- Log in to comment
Hi @Bkappala,
You can do it using Write field on linked issues or subtasks post-function in transition to Done status in issue-2 workflow using the following configuration:
Done
You have other similar cases explained at: Make Linked Issues, Subtasks or JQL selected issues Progress through its Workflows.