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: 

How to copy Epic Link to Linked issue, when issuetype move to another issuetype?

Teja
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 Champions.
April 15, 2019

Hi Team,

I am trying to copy 'Epic Link' to 'Linked issue' as 'is caused by' relationship name, only when the issuetype is move to another issuetype using Move operation, so that I have written custom script listener.

The problem is now is that script updates (changed Epic Link after converting another issuetype is created new issue link) on every save. How to accomplish only when the issuetype is moved to another issuetype within the project? not with every update of the Epic Link.

Reagrds

Tejas.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Sebastien SALOMEZ
May 22, 2019

Hi Team,

Could we have an answer to this true question please ?

Thanks,

regards,

Seb.

Teja
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 Champions.
May 23, 2019

Hi Salomez,

You could try this method 

'event?.getChangeLog()?'

in your listener script that listens to issue updated events.

Here for more info

Regards

Tejas 

TAGS
AUG Leaders

Atlassian Community Events