Set Parent Link in postfunction

GS1337 October 9, 2019

Hi,

 

I have a workflow where i can create an Epic or a Story at the end with a "Clones an issue, and links" Function with Scriptrunner. In the "additional actions" Field in this functtion i want to set the Epic Link for a Story or the Capability Link for the Epic. Its allways the same Epic or Capability, i just need to set the Link in the Postfunction, can anybody help me with this?

 

Thx!

1 answer

1 accepted

0 votes
Answer accepted
Zoi Raskou
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.
October 9, 2019

Hi, check this post which asks exactly this question: https://community.atlassian.com/t5/Jira-questions/How-to-set-issue-links-through-groovy-in-script-postfunction/qaq-p/713709.

In your case you will need a statement to check if it's an Epic or a Story as well. 

Suggest an answer

Log in or Sign up to answer