Hello Everyone,
We are using team-managed projects for some basic procurement tasks, and we wish to set the approver for the specific issue to be set regarding who is the manager of the Reporter of the Task.
To get the reporter, we are using the add-on "User Profiles for Jira." This works pretty well, but I have no idea how to get the person from the field to the approver field via automation because I don't see the option to update this “approver” field Jira wants to.
Does anyone have an idea how to fix this?
Thank you very much for any ideas.
Helo @Jean-Luc Buchmann ,
Thanks for your question I have attempted to try the below steps and it was working in my test site. do try the below set up and see how it goes. :)
Issue Created or Issue transitioned (depending on when you want to assign)
Use the "User Profiles for Jira" smart value to retrieve the manager:
{{issue.reporter.profile.manager}}
(You might need to adjust this if your app uses a different smart value for manager)
Add Edit issue action.
Choose the Approver field.
Set it to the smart value:
{{issue.reporter.profile.manager}}
Note: If the Approver field doesn’t show in Team-managed project automation:
Try using the “Additional fields” (JSON editor) like:
{
"Approver": "{{issue.reporter.profile.manager.accountId}}"
}
Save manager to a custom user picker field (Manager of Reporter
).
Use a second rule (or an extra action) to copy that value into the Approver field.
Hi Jean, so basically you want to update the approver field from a specific field if yes, you can use the below automation to copy values between two field;
steps mention on this article - https://support.atlassian.com/automation/kb/automation-for-jira-different-ways-to-copy-the-value-of-a-field-into-another/
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.