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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

110 views 0 5
Read article

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