Deviniti’s Rovo Assistant provides access to a virtual assistant that helps you with configuration, installation, and troubleshooting, enabling quicker and faster navigation through documentation.
See Deviniti’s Rovo Assistant documentation or find it on the Atlassian Marketplace for more information.
Before you start working on your issues, a few may need to be approved. For example, there may be issues where the IT Manager needs to approve the purchase of a new computer.
Entra ID (Azure AD) for Jira allows you to retrieve the user Manager value directly from the Azure AD, and make this manager the approver of the issue right after it was created.
Note
Setting up the Manager as approver is available only in Jira Service Management projects.
Info
You won’t have to change your configuration, even after the Manager leaves the company - value of the new Manager field will be synchronized immediately.
There are two ways to set a Manager as the approver. You can do it by mapping the Manager attribute to a Jira custom field or by using the Azure AD Sync - Copy data from Azure AD post function. Below you’ll find two sets of instructions.
Steps to set up a Manager as approver by mapping the Manager attribute
Use the instructions provided in the Mapping Azure AD data to a custom field chapter to create a User picker (single user) field and name it, for example, “Manager as approver”, or use an existing User picker (single user) field.
Warning
Don’t forget to add the Manager as approver custom field to a relevant screen. You can do this by going to the Issue screen configuration under the three dots menu on the mapping list.
Set up synchronizations list with a mapping's actions menu open and the screen configuration option highlighted
Go to the Project settings > Workflow schemes.
Choose the relevant workflow.
Click Edit.
On the diagram, choose the relevant status.
Click Include approval step.
Workflow editor with the Waiting for approval status and the Include approval step option highlighted
Choose the Number of approvers, as Approver source select Jira field and the custom field you’ve created earlier.
Edit approval step dialog with Everyone as approvers and the Manager as approver Jira field as source highlighted
Result
After creating an issue, the Manager will be mapped from Azure AD and instantly set as the approver of the created issue.
Service request work item with the Manager as approver field set to the reporter's manager highlighted
Steps to set up a Manager as approver using the post function
Create a User picker (single user) type field (see the official Atlassian documentation for more information on creating custom fields ), name it for example “Manager”, and add it to a relevant screen, or use an existing User picker (single user) field.
Navigate to your workflow configuration and add Azure AD Sync - Copy data from Azure AD post function to the Create issue transition (detailed information about adding a post function to transition can be found here). Parameters of the post function should be configured as followed:
Reporter in the User whose data will be copied over parameter
Manager in the Azure AD attributes parameter
Your newly created custom field (for example Manager field) in the Jira field to paste the attributes parameter
Post function parameters with Reporter as the user, Manager as the Entra ID attribute, and the Manager target field highlighted
After adding the post function and publishing the draft, click Edit again to add the approval step.
On the diagram, choose the relevant status.
Click Include approval step.
Workflow editor with the Waiting for approval status and the Include approval step option highlighted
Select the Number of approvers, as Approver source select Jira field and the custom field you’ve created earlier (for example, the Manager field).
Edit approval step dialog with Everyone as approvers and the Manager Jira field selected as the approver source
Result
After creating an issue, the Manager of the reporter will be fetched from the Azure AD and instantly set as the approver of the created issue.
Service request work item with the Manager field set to the reporter's manager highlighted
Need help?
If you can’t find the answer you need in our documentation, raise a support request.