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

Script Runner: Fire Issue_Updated event when Issuelink Created

alexmears March 18, 2019

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

Atlassian Community Events