Forums

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

Dependency Notifications

Randy Hatfield
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 22, 2018

Hi,

Given a couple of JIRA tickets PA1 and PA2 which are predecessor tasks of JIRA ticket A. Does a script in ScriptRunner for Jira currently exist where when run the owner of ticket A is notified ONLY when both PA1 and PA2 complete?

Thank You,

Randy

2 answers

0 votes
Randy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 22, 2018

It doesnt but you can create one.  Set a scripted post function on the transition that resolves PA1 and PA2.  In your post function, if the parent's children are all resolved, fire a notification event.

0 votes
Dave Theodore [Coyote Creek Consulting]
Community Champion
October 22, 2018

There is no need for Scriptrunner to do something like this.  You can create a Saved Filter and Filter Subscription to do this with native functionality. When you configure the Filter Subscription, you have the option to not send empty results. If you choose that, it will only spam the user when something is matched in the Filter Query.  Just save a Filter that contains the JQL that will result in the issues being found and save it, then subscribe the users to that saved filter.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events