Configure Default Approvers for Request Types
Platform Notice: Cloud Only - This article only applies to Atlassian apps on the cloud platform.
Summary
There are several ways to configure default approvers. Choose the approach that matches where you want to set the default users:
Use the request form configuration to set default users for a particular request type and hide the preset value from the portal.
Use custom field configuration to set default values for the Approvers custom field.
Use workflow configuration to add an approval step that gets approvers from the Approvers custom field.
Use automation to set default approvers when a work item is created.
Solution
If you need to… | Use this solution |
Set default approvers directly on a specific request type and keep the field hidden from the portal. | Solution 1: Request Form configuration |
Set default values for the Approvers custom field for a particular work type. | Solution 2: Custom Field configuration |
Require approval in a workflow and use the Approvers custom field as the approver source. | Solution 3: Workflow configuration |
Set approvers automatically when a work item is created for a required request type. | Solution 4: Automation |
Use the solution that matches where you want to manage the default approvers. The workflow approach is best used after setting default approvers in the custom field configuration.
Solution 1: Request Form configuration
You can add the Approvers custom field to the request form for the required request type/s, and then include the default users for the same using Use preset value and hide from portal.
From your service space, go to Space settings > Request management, and then Request types.
Select the relevant work category in the left navigation panel.
Select the request type for which you want to change the Default Approver.
Select the Request form to update the request form.
Add the custom field Approvers to the request form by dragging it from the right side panel.
Click on the newly added Approvers field and select the checkbox marked "Use preset value and hide from the portal." This will open a panel below with the Default users.
Search and add the Default users. These users will be shown as Default Approvers for that request type.
After you select Use preset value and hide from the portal and add the default users, those users are shown as Default Approvers for requests that use that request type.
Click on Save Changes.
Solution 2: Custom Field configuration
You can set the default values for the custom field in the Configure a custom field for the particular work type.
Select the Cog icon > Work items.
Under Fields, click Custom fields.
Find the custom field (Approvers, in this case) you want to configure, and click on the three dots ••• > Contexts and default value.
In the Default Configuration Scheme for Approvers section, select Edit Default Value.
Enter the list of users whom you want to set as default options.
Click on Set Default.
Solution 3: Workflow configuration
Before you begin: This workflow approach uses the Approvers custom field as the approver source. Set the default approvers in the custom field configuration first.
The Approval "+" option is available only when the workflow status has at least two transitions: one for Approve and one for Decline. If you don't see the custom field when selecting the approver source, make sure its Applicable context is set to Global.
Then continue with the existing workflow steps.
From your service space, select Space Settings > Workflows.
Select Edit next to the workflow you want to add approval to.
Select Diagram if you’re not already in the diagram view.
Select the status you want to add an approval step to.
Click on the "+" sign on Approval.
Note: This option is only available if the workflow status has at least two transitions: one for Approve and one for Decline.
Next to the Approvers, select how many people you want to approve the work item.
Next to the Approver source, select Jira field, then select the Custom field (Approvers in this case)
If you don’t see the custom field you want to get approvers from, make sure its Applicable context is set to Global.
Select Next.
Select the statuses to transition to if the work item is approved or declined.
Under Exclude approvers from, select the fields you want to exclude approvers from.
Any users who appear in the fields you select here will not be able to approve work items that use this workflow.
Select Add.
At the top of the screen, select Publish draft.
Solution 4: Automation
You can use automation to set the default approvers, skipping the manual repetitive task of adding them when the work item is created.
In your service space, select Space Settings > Automation.
Select Create a Flow in the top-right corner.
Select a trigger for the Automation. In this case, you can select the Work item created trigger
Configure the trigger settings (if the trigger is different than Work item Created) and select Save.
Select New component and add a New condition - Work item Fields condition.
Add a condition that the Request Type field equals the required request type in your space.
Select New component and add a New action - Edit Work item.
In the Fields to Set section, add the Approvers field.
Add the default approvers from the dropdown panel.
Select Save.
To set different default approvers for different request types:
Add a Request Type condition for each required request type
Then use Edit Work item to set the Approvers field with the default approvers from the dropdown panel.
Give your Flow a name, then select Turn it on.
Was this helpful?