Integrate ADManager Plus with Jira Service Management to perform AD actions directly from the tickets raised

Integrate ADManager Plus with Jira Service Management to perform AD actions directly from the tickets raised

Integrating ADManager Plus, a comprehensive Active Directory management solution with Jira Service Management, helps streamline and resolve identity management request tickets across multiple applications.

 

For instance, upon ticket creation, ADManager Plus can trigger actions such as user provisioning or access adjustments. This seamless integration enhances efficiency, ensuring that IT support actions are synchronized and expedited, ultimately leading to improved productivity and smoother workflows.

The following steps are involved during configuring of Jira Service Management with ADManager Plus.

Note:

1. If the required data is already present in the Jira Service Management ticket or issue, you can skip steps 1 and 2.

2. Authentication can be done through OAuth or Basic authentication.

3. The minimum privileges required for an user account in Jira are as follows: 
  • Users need to have either an admin account or service account in their Jira Service Management instance.

  • If they have a service account, Service Desk Team role must be assigned to that account.

  • To verify this:

    • Log into your Jira instance using the service account.

    • Check if you can view the tickets from a particular project. If you are not able to do so, contact your administrator team for more information on your account privileges.


  1. Create custom fields to be included in the form.

  1. Create a form in Jira Service Management.

  1. Generate API Key in Jira Service Management. 

  1. Configure the Jira Service Management endpoint in Postman and get all the required custom field response parameters.

  1. Configure the endpoint in ADManager Plus.

 

 Steps to create custom fields in Jira Service Management 

Create a custom field and associate it with the corresponding Jira form field in your Jira Service Management console.

  1. Log into your Jira Service Management portal.

  1. Click Projects and select your project.
     

  1. Select the settings icon in the top right corner, and then click Issues.

  1. In the left panel, navigate to Custom fields, and select Create custom field from the top right corner.

  1. Select the required Field Type.

  1. Enter the Name and Description of the custom field, and then click Create.

  1. Select the required screens where you want the custom field to be displayed, and then click Update.

  1. Follow this procedure for each desired field, and repeat the process for all the fields you wish to include.

 

 Steps to create a  form in Jira Service Management  

Create a Jira form to streamline the process of raising user onboarding tickets.

  1. Navigate to your Jira Service Management dashboard.

  1. In the left panel, click Project settings > Forms.

  1. Select Create form and click Create blank.

  1. Choose Add field and select the required field type.
     

  1. In the field details panel on the right, enter the required details, and link the form field to the respective custom field you have created.

  1. Follow this procedure for all the fields you wish to include.

Note:

  • Description is a mandatory field in the Jira Service Management form.

  • Create a form field and link the associated field in Linked Jira Field.

 

  1. Once you have added the required fields, click Save Changes.

  1. Select Settings in the top left corner.

  1. Enable Create new issue and select the required request type from the drop down menu.

  1. Click Save Changes, and you can find the link to the form under the request type.

  1. When this form is submitted, a new ticket or issue will be created.

 

 Steps to configure API token in Jira Service Management 

  1. Login to your Jira Service Management portal.

  1. Select the profile picture on the top right corner and click Manage account.

  1. Navigate to the Security tab and select Create and manage API tokens.

  1. Click Create API token.

  1. Enter a name for the API token under Label and then click Create.

  1. Select Copy to copy the API token.

 Steps to configure OAuth app in Jira Service Management 

Authenticate with ADManager Plus and obtain the required tokens, facilitating secure access for the retrieval of ticket information.

  1. Navigate to Jira API documentation (developer.atlassian.com) > Profile > Developer console.

  1. Select Create and choose OAuth 2.0 integration.

  1. Enter an application name and check the terms and conditions box.

4. Click Create.

Steps to set permissions in Jira Service Management

Grant ADManager Plus the capability to read tickets, ensuring efficient access and management of relevant ticket information.

  1. Navigate to Jira API documentation (developer.atlassian.com) > Profile > Developer console.

  1. Select My apps and choose ADManager Plus.

  1. From the left pane choose Permissions.

  1. Click Configure next to Jira API.

  1. Select Edit Scopes, check the box for read:jira-work, and then click Save.

  1. Go to Granular scopes tab and click Edit Scopes.

  1. Search for the following scopes, check the box next to the required scopes, and then click Save.

  • read:issue-details:jira

  • read:issue:jira

 

 Steps to generate the client ID and the secret in Jira Service Management 

Authenticate with ADManager Plus, enhancing integration capabilities and ensuring secure access to HR and identity management functions.

  1. Navigate to Jira API documentation (developer.atlassian.com) > Profile > Developer console.

  1. Select My apps and choose ADManager Plus.

  1. From the left pane choose Settings.

  1. Copy the Client ID and Secret values and paste the generated values in the required field.

Steps to set the Redirect URI in Jira Service Management

Enable Jira Service Management to send the access token back to ADManager Plus, and secure communication between systems.

  1. Navigate to Jira api documentation (developer.atlassian.com) > Profile > Developer console.

  1. Select My apps and choose ADManager Plus.

  1. From the left pane choose Authorization.

  1. Paste the Callback URL from ADManager Plus in the Callback URL field.

  Steps to configure Jira Service Management endpoints in Postman   

Obtain the cloud ID and custom field name and establish their mapping to LDAP attributes, ensuring efficient synchronization and data consistency between systems.

  • Login using basic authentication as authentication type

  1. Navigate to Postman (https://www.postman.com).

  1. In Type select Basic Auth.

  1. Enter your Username (email address) and then paste the generated API token in the Password field.

  • Login using OAuth as authentication type

  1. Navigate to Postman (https://www.postman.com).

  1. Fill in all the required parameters and click Get New Access Token.

 

 

3. Once you click Get New Access Token, you will be redirected to the Jira Service Management login page.

4. Log in with your Jira Service Management credentials and complete the authentication process.

 

5. After successful authentication, the server will respond with Status code 200 if the credentials are valid. The response will include the access token and its expiry time, along with a refresh token if offline_access is specified.

6. Send a HTTP request to the following endpoint  and obtain the cloud ID: https://api.atlassian.com/oauth/token/accessible-resources

 

7. Use the Cloud ID from the previous step and get the custom field IDs by configuring the following endpoint and adding JQL as the parameter:  https://api.atlassian.com/ex/jira/{cloudid}/rest/api/3/search

 

Note: JQL parameter can be modified to filter the tickets or issues based on status, type or other details. For additional details, click here.


8. Search for custom field IDs in the response and retrieve the required value, which will be used in the attribute mapping.

  Steps to configure authorization in ADManager Plus  

  1. In ADManager Plus, navigate to the Automation tab and click Applications Integrations.

  1. Under Enterprise Applications, click Jira Service Management.

  1. In the Authorization section, select the Authorization Type from the drop-down and select the appropriate option.

    • If you select OAuth 2.0 as the authorization type, specify the following:

 

    • If you select Basic Authentication as the authorization type,

      • Specify a Username and Password and click Configure.

 

 Steps to configure endpoint in ADManager Plus 

  1. In ADManager Plus, navigate to the Automation tab and click Applications Integrations.

  1. Under Enterprise Applications, click Jira Service Management.

  1. In the Jira Service Management Endpoint Configuration section, replace {cloudid} with the unique ID generated in your Jira Service Management instance.


Note: JQL parameter can be modified to filter the tickets or issues based on status, type or other details. For additional details, click here.


Steps to configure LDAP attribute mapping in ADManager Plus

  1. In ADManager Plus, navigate to the Automation tab and click Applications Integrations.

  1. Under Enterprise Applications, click Jira Service Management.

  1. Click Data Source - LDAP Attribute Mapping to match endpoints and map AD LDAP attributes with the respective attributes in Jira Service Management.

  1. Enter the Configuration Name and Description and select the Automation Category from the drop-down menu.

  1. In the Select Endpoint field, check the JIRA ISSUES ENDPOINT box and select issues.id from the drop down menu.

  1. In the Attribute Mapping field, select the attribute from the LDAP Attribute Name drop-down menu and map it with the Jira Service Management column.

  1. Click Save.


                    New to ADSelfService Plus?