Hello,
We have a Workflow that involves getting approval in order to move onto the next stage of the Workflow.
Is there a way to automatically assign the approver using Jira Automation or another means? I have tried to setup an Automation user the Approver field as shown in the picture below, but it is not assigning the approver where the Work Flow will accept that approval and move forward to the next step in the flow.
This automation puts an approver in the details column, but the Workflow is still saying an approver needs to be selected.
Is there a way to make the automation fill in an approver for Workflow approval?
This looks like a Team-managed Project, correct? As far as I know, it won't use the standard "Approvers" field which Jira has out of the box.
AFAIK it uses a special Approvers field which is part of the Workflow - you can also create custom Approver fields...
...but even with a new custom field and its ID (I got this via https://<your domain>.atlassian.net/rest/api/3/field), and the rule successfully populating the user, it still doesn't add it the Approvers section.
I'd contact Atlassian Support and get some clarity on how those fields work. If you do contact them, let us know how it goes :)
Ste
Following up on this. The Automation did not work, but it was a team-managed project. Not sure if that effects it.
I made the desk a company-managed project, like it should have been, and the automation works as intended
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @John Lombardo,
Welcome to Atlassian Community!
If you look at the warning message it is expecting a user to be added to the Approver field, not the Approvers. So It looks like you have two or more fields for approvers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks!
Yes I added that field after I couldn't find where in Jira Automation to add an approver to the Approver Field inn the workflow approval. I was hoping if I added Approvers to details it would populate.
Is there a way to do this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The approver field should be like any other fields, just use the edit issue component in the automation to add them. It is not showing up as an option then you can always use the advanced option to update the field, something like this:
{
"update": {
"customfield_12345": [{
"add": {
"id":"<Atlassian Id>"
}
}]
}
}
Note that when you do it via the advanced option you have to use the Atlassian Id for the user that you want to add as the approver.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.