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,359,957
Community Members
 
Community Events
168
Community Groups

Script Runner: Fire Issue_Updated event when Issuelink Created

Edited

I have a function fire_issue_updated() that runs whenever an issue is updated. I also want this script to run when an issue link is created for both of the linked issues.

My solution for this is to create a script listener for Issuelink Created e.g.

def issueKey1 = issueLink.issue.id;

def issueKey2 = issueLink.issue.sourceIssueId;

fire_Issue_Updated(issueKey1);

fire_Issue_Updated(issueKey2);

Then my issue_updated event script would run for both issueKey1 and issueKey2

Is something like this possible?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

179 views 1 6
Read article

Atlassian Community Events