Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Notifying assignee that blocked task is no longer blocked (1st half done)

Dylan July 29, 2023

I want to notify the reporter/assignee that a task their assigned to is unblocked. I got the first part done, meaning that my assignee gets it when there is only one blocking task. The problem that I have is that when there is more than one blocking task, they'll get notified that the task is done when only one of the required blocking tasks is finished. I only want them to be notified when all of the blocking tasks are done.

 

Screenshot 2023-07-29 193655.png

1 answer

1 accepted

2 votes
Answer accepted
Ste Wright
Community Champion
July 29, 2023

Hi @Dylan 

You need some additional parameters - this should work:

  • Trigger: Issue Transitioned
    • To Status = Done
  • Condition: Related Issues Condition
    • Related Issues = Linked Issues
    • Link Types = blocks
    • Condition = Are Present
  • Branch: Related Issues
    • Type = Linked Issues
    • Link Types = blocks
      • Branch-Condition: Related Issues Condition
        • Related Issues = Linked Issues
        • Link Types = is blocked by
        • Condition = All match specified JQL
        • JQL - status = Done
      • Branch-Action: Transition Issue
        • Destination Status = To Do
      • Branch-Action: Send email - include text

---

The rule works as follows:

  • First, it confirms the issue transitioned to "Done" blocks another issue
  • Next, the Branch finds all of issues blocked by the trigger issue
  • A further Condition checks that for the blocked issue(s), all the "blockers" are in Done
  • If TRUE, it transitions the blocked issue back to "To Do", if not, no action is performed

---

Let us know if this works for you!

Ste

Dylan July 30, 2023

This did work, thank you very much. Thank you for explaining how it works too!

Like Ste Wright likes this
Ste Wright
Community Champion
July 30, 2023

Awesome!

If this answer did resolve your query, could you accept it using the button above? It ensures others have a clear, visible way to tell it will help :)

Ste

Like Dylan likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events