Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,640,537
Community Members
 
Community Events
196
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

0 votes
Andrea Pannitti
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.
Jun 29, 2022

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
AUG Leaders

Atlassian Community Events