Forums

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

Set Parent Link in postfunction

GS1337
Contributor
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
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events