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, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events