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?
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:
Hope this helps!
Hello everyone! We are very excited to announce some much needed changes to the issue create experience in JSM (the blue "create" button) at the top of the screen. We have just starte...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events