Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,301,142
Community Members
 
Community Events
165
Community Groups

How to use scriptrunner to notify an assignee of a completed dependency that status changed to done?

How do I setup a filter using scriptrunner that will show issues with the following conditions:

  1. linkedissue is "is depended on by"
  2. changes from status of development to done or cancelled
  3. in an active sprint

Also, need to notify the assignee on a different linked ticket that has linkedissue of "depends on" which is linked to the one that has "is depended on by" that the "is depended on by" issue has moved to done or cancelled.

1 answer

Hi @SHEHZADALI ISMAILY,

for the first part of your question, you could use this JQL:

issuefunction in hasLinkType("is depended on by") AND (status was in (Development) and (status = 'Done' or status = 'Cancelled')) AND Sprint in openSprints()

For the second part, you have to do a script that use the previous JQL and in the script you must implement a loop that get assignee for every issue extract from the JQL and send a mail to it. For this, you could give a look to this page.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Service Management

Improving the Create Issue Experience in Jira Service Management Cloud

Hello everyone!  We are very excited to announce some much needed changes to the issue create experience in JSM (the blue "create" button) at the top of the screen.  We have just starte...

282 views 15 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you