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

Can a notification not be sent from a groovy post function that adds links?

arama mihai
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.
Jan 25, 2022

Hello, we have a post function (groovy script, by scriptrunner), that creates sub-tasks for a parent. In the same post function, after their creation we add links to these sub-tasks.

We use the: "ComponentAccessor.getIssueLinkManager().createIssueLink" to achieve this.

The issues get created, and for the "issue created" event, we do not have any recipients in the notification scheme.

For the "Issue updated" event, we do have "Watchers" and "Reporter" listed. 

We would want the notifications for the links that are added through the script to NOT be sent. But it seems that since they get added after the sub-tasks are created, they are considered updates, and they do.

Is there any change to the script that we could do so that it does not trigger these notifications?

 

Thank you!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events