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

Accepted Answer
0 votes

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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,047 views 2 7
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