I have an issue type named: release and it has sub-task of type sub-bug.
I want the component of the release to be filled automatically in the Create Issue screen of the sub-bug, with the same component of the parent (release) issue.
Also, I want the Fix version of the release (the parent) to be copied as the Affected Version of the sub-bug (the sub-task) automatically, prefebely filled in the Create Issue screen (but not a MUST).
I highly recommend JIRA Misc Worklfow Extensions:
It has post functions that allow you to set field value from parent (any field). I use it in my workflows and it does the job. It also has other quite useful workflow additions. :)
There's now a very easy to configure way to keep fields for parents and sub-tasks in sync using Automation for JIRA!
(this example updates the description, but pretty much any field can be edited)
I create the sub-bug (of Sub-Task) type manually, when we find a bug.
Therefore I cannot use the "Create subtask in a transition" solution, or I don't understand you correctly.
The best solution would be to fill the parameters in the Sub-Task Create screen.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events