You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello,
I have this automation below which creates subtask based on the field location status . It works fine however I would like to add another step/s to change the reporter of a sub task from "Automation for Jira" to assignee of the parent ticket. How can I accomplish that? Is it even possible? Thank you.
Hello @Elif Alverson
Yes, if the Rule Actor has the permission in the project for changing the Reporter field, then you can change the Reporter on the issue you are creating to match the assignee of the parent issue thus.
However, if the parent issue has no assignee then the rule will fail because the Reporter can't be empty.
So you may want to add a separate step in the branch to check that the parent has an Assignee and then Edit the subtask just created.
(Disregard that I used Component for my branch.)
@Trudy Claspill , thank you for your response. The tickets are assigned to the team lead automatically so there are not ticket in unassigned state. I added the steps you provided above however not still does not work. Here is the message I got. I am an project admin but it says the issues cannot assign to me. ????
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please show us your automation rule and the details of the steps you added.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am getting this error message below and here are my automation steps;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to remove the Reporter field from the Create Issue task.
In the Edit Action you should be using triggerIssue, not parentissue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I did ( please see below ) the changes you requested. But this time my subtask's reporter is still "Automation for Jira". It did not changed to me. And it shows success.
Did I miss something?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It does not work as expectedbecause Parent Issue is picked as Current issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oops, I gave you some invalid guidance.
You have two options. Use only one of these options.
Option 1:
If your trigger issue will always have an Assignee, then you can set the Reporter field within the Create Issue task.
Also note that smart values can be case sensitive. You need a capital "i" for "issue" in "triggerIssue"
{{triggerIssue.assignee}} not {{triggerissue.assignee}}
With this option you don't need the Condition and Edit steps after creation of the subtask.
---
Option 2:
If there might be a case where the trigger issue does not have an Assignee, then don't try to set the Assignee in the Create Issue action. Instead, after creating all the subtasks, check if the trigger issue assignee has a value and if so then update the Reporter on all the Subtasks.
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.
Happy to help ;-)
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.