Built-in subtask script: include parent summary in subtask summary

MathewI October 25, 2012

When using the "Create Subtask" script in a post-function, is there a way to use the parent task's summary in the new task's summary?

2 answers

1 accepted

1 vote
Answer accepted
Bob Swift OSS (Bob Swift Atlassian Apps)
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 26, 2012

Don't know the answer for that post function, but it can be done with the post function from Create on Transition Plugin for JIRA

MathewI October 29, 2012

Bob- this is perfect. I really appreciate the fact that you include the substitution variables in the interface.

Thanks!

1 vote
Tsol
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.
November 26, 2012

I was doing some test today with that. You can have parent issue summary with the following script:

issue.summary = "Type whatever here... " + transientVars["issue"].summary

Suggest an answer

Log in or Sign up to answer