Hi everyone,
I am creating children tickets and not sure how to have the details copied from the parent to the child. For example, I have a parent ticket that has the details on the right hand side, it shows that the billing account is XXX and when I create the child ticket the billing account area is blank. Is there a way to have that info copied from the parent to the child?
Thank you for your help!
Hi @Alexis Gutierrez - When you say "children tickets" are you referring to sub-tasks or more of a link between two issues? This will help in establishing the right solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is possible with automation. You just need to establish a trigger. For example, you could have something like this:
NOTE - I'm assuming the field name is Billing Account. Change accordingly.
You can also create a similar automation rule that updates all sub-tasks when the billing account changes on the parent:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there any way to have all the details copied or I need to do this one by one?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You would need to manually add all of the desired fields you want copied to your sub-task, but it's a one-time configuration and then it'll just work from then on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried what you have above but it failed creating the task at all. The tasks have already been created. We doubled back to add sub task to these tasks. I noticed the detail information was not moving over to the sub task. But with this rule above I was not able to create a normal Task.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You shouldn't need JSON. Can you please share a screenshot of the Edit Issue Action?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the "Choose fields to set" drop-down, you'll want to select the LAE required field and cut/paste what you have in the "More Options" section there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you using a different field configuration for Sub-Tasks vs their parent tasks? From the error, it appears that the AE required field is not available.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
AE Required is a custom check box field. Does it matter if it's in the Description fields or the context fields?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ahh checkbox field will be a little different. Replace your edit issue action with this:
{{issue.parent.AE required.value}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried that as well and still it's not working... I might have to have all those done manually.
Thank you,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no easy way to do it but you can try one of the following methods:
- Create custom ScriptRunner Listener that will update field value of Sub-task once it is modified in the parent Task.
- Use Jira Automation
- Or you can consider using one of plugins provided here: JRASERVER-5225
Regards,
Szymon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.