Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How can I find the issue key of the parent of a clone (scriptrunner)?

Hi everyone,

I'm cloning an issue with scriptrunners "Clones an issue, and links" post function.

I want to include the issue key of the original (parent) issue in the summary of the clone, using the "Additional issue actions".

I assume this is a trivial thing, but googling it provided more questions than answers, sorry.

Can anyone help?

1 answer

1 accepted

1 vote
Answer accepted
Tessa Tuteleers
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 17, 2021 • edited

Hi @FH , 

documentation can be a little difficult to navigate sometimes, I agree. Luckily, what you need is indeed fairly simple. 

You can access all origin issue data with sourceIssue. ... 

So you might want to do this: 


Additional issue actions

issue.summary = sourceIssue.key + ': Cloned issue'


And just a tip, underneath the code blocks are always some "help" code fragments, which you can copy, then analyse and experiment from there: 

Screenshot 2021-11-17 at 13.56.21.png

Hope this helps! 

- Tessa

Sigh. Didn't expect it to be THAT easy ;-)
I was trying to parse through linked issues...

Thank you very much!

Like Tessa Tuteleers likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events