Copy parent issue summary into custom field of sub-task

When creating a sub-task, I would like to copy the summary of the parent task and put it into a custom field in the sub-task.

I have created a custom field called 'parent issue' and I thought that I would be able to add a post function into the 'create issue' transition in the workflow to 'copy value from other field', but when I go to select the 'source field' it only shows custom fields that have been created, and the 'summary' field is not there.

Is it possible to copy from the parent's summary, even though it is not a custom field? Either that or to write something as the default value for my custom field that will automatically populate with the parent summary?

I'd prefer to do this without a plug-in if possible.


1 answer

0 vote

You are going to need an add-on to enable scripting or post-functions to do this.  Even the one you've found (copy value from other field) is provided by an add-on.

Although I have admin privileges, I am not the primary administrator of the system, so I can see which add-ons we have, but I'm not familiar with what they can do. Which add-on do I need, and how do I need to use it?

I'd use the Script Runner, simply because it's the one I'm most familiar with.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

149 views 1 17
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you