Is it possible to copy parent's component & version while creating sub-task

Is it possible to copy parent's component & version while creating sub-task?

1 answer

1 accepted

You can do it with JIRA Misc Workflow Extensions. Use the "Set Field Value from Parent" postfunction in the create transition of the subtask.

What will be the order of Component field in postfunction?

Is it:

1Creates the issue originally.
— THEN
2The value(s) of field Component/s will be set from the issue's parent (replacing existing values).
Edit | Move Up | Move Down | Delete
— THEN
3Fire a Issue Created event that can be processed by the listeners.
Edit

Not working. Any Idea?

That order should work.

sorry, order is

The value(s) of field Affects Version/s will be set from the issue's parent (replacing existing values).
Edit | Move Up | Move Down | Delete
— THEN

Creates the issue originally.

— THEN
Stores updates to an issue (no change history is created).
— THEN
Re-index an issue to keep indexes in sync with the database.
— THEN
Fire a Issue Created event that can be processed by the listeners.
Edit

Thanks! It works.

you're welcome!

Is it possible to show those components/version field in create sub-task screen with the parent compnonents/versions selected by default?

Not with this Plugin, therefor you migth check out the EXOCET plugin

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,990 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot