I've created a Jira Automation that creates a Child Sub-Task from a Parent Task. All of it works great except for my users one requirement that I cannot figure out.
I am using Jira Automation for Jira Cloud and my user has requested that I use it to set the Reporter field on the Child Sub-Task to the value of the Assignee field from the Parent Task.
The Reporter select list options are Copy from Parent, Copy from Trigger Issue, Copy from Epic or to select a specific Jira User.
Using Jira Automation how can I set the Reporter field value on the newly created Child Sub-Task to the Parent Task's Assignee field value? Please help.
Hi @Jennifer
Would you please post an image of your complete rule? That will provide context for the community to offer suggestions as we cannot discern where the parent issue is within your rule before the subtask is created. Thanks!
Kind regards,
Bill
Hi Bill.
My automation works as expected. What I cannot figure out is how can I successfully set the Reporter field on my Child Sub-Task to the value of the Assignee field from the Parent Task?
Thank you,
Jennifer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the information, Jennifer!
Although it is not obvious, you may type in a smart value to set fields in that rule action. Try typing in/copy-pasting the following expression, and it will appear below the Reporter field; when it does select it and the edit will work as you expect.
{{triggerIssue.assignee.accountId}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill
I copied your suggestion under More Options. After running a test the audit log gives me "error while processing additional fields. Not valid JSON." Thoughts?
Thank you,
Jennifer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I did not mean to use the JSON entry under more options, so you can clear that out.
Instead enter that smart value expression in the Reporter field when creating the subtask.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Awesome; I am glad that worked. Please consider marking this question as answered. That will help others with similar needs find solutions faster. Thanks!
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.