Learn how to configure a custom field in order to display information from Azure Active Directory
Remember to always add the custom field to both the Create issue and the Edit issue screen. Otherwise, the synchronization won’t work.
Apart from global Jira settings, you can also do this in the issue configuration, which is located under the Issue Details View.
You’ll find a video tutorial in the further part of this chapter.
Synchronization works globally, meaning it’ll appear in any project containing the selected custom field when synchronization is triggered.
Here is how to start mapping to a custom field:
You will be brought to a configuration screen where you can choose the custom field type, select Azure Active Directory attributes to be mapped, and decide whose data should be displayed.
The first drop-down menu lets you choose a custom field to display Azure Active Directory information. You can either select an existing custom field or create a new one.
Existing custom fields of the types listed below will work with Azure AD Attributes Sync for Jira:
Select List (single choice) field type supports attributes listed below:
To choose an existing custom field:
Clicking on the selected custom field will save your choice.
If you choose the Select List (single choice) field type, you’ll see a toggle. If you enable it, each individual synchronization will add one option to the single select list based on the chosen attribute’s value from Azure AD.
You can create a new custom field directly from the mapping screen.
If you update the Azure AD permissions, new Jira custom fields will be available for mapping.
To create a new custom field:
Expand the Select field options.
Go to the second tab, Create new.
Select the Custom field type. There are six types available:
Give the custom field a name under the Field label.
Add a description (optional).
Click Create.
In the next step, you can choose the Azure Active Directory attributes that should be displayed in the custom field. You may select as many as you need.
If you’d like to display many attributes in one field, we recommend the Text Field (multi-line) field type. It allows you to render the data in an easy-to-read table.
Text Field (single-line) displays the data in one long line and separates different attributes with semicolons. This is why we only recommend this field type for displaying single attributes.
Learn more about Displaying Azure AD data in a custom field.
To select Azure Active Directory attributes:
In the last configuration step, you can choose whose data will be displayed in the issue. You can only choose one user for one custom field.
To select a user whose attributes will be displayed in the custom field:
Remember to save the settings:
You’ll see a success notification, and the mapping will be added to the list of mappings under its target view. To trigger a synchronization, create an issue or make an update on a chosen issue.
By choosing the Select list (single choice) custom field type and turning on the toggle, you’ll see an icon. The icon appears to inform you that a value from Azure AD is added to the single select list if it doesn’t already exist on it.
After you turn on the toggle and synchronize for the first time, switching to a different user won’t clear the single select list; the first user’s attribute value will still appear on it.
If you change the synchronized attribute, values from previous synchronizations will also remain on the list.
Click through the live demo to see how to create a mapping to a new custom field.
You can edit custom fields, see issue screen configuration, or delete field mapping by clicking the three dots menu next to the selected mapping. Also, you can enable/disable the synchronization using the toggle button.
If you can’t find the answer you need in our documentation, raise a support request.