The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Script Runner: Fire Issue_Updated event when Issuelink Created

alexmears
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events