How to integrate ADManager Plus with Jira to simplify user lifecycle management

How to integrate ADManager Plus with Jira to simplify user lifecycle management

Jira is a prominent SaaS platform known for its cloud-based project management and issue tracking software. Jira offers a comprehensive solution for management, collaboration, and workflow automation. Teams and organizations of all sizes widely use Jira to plan, track, and manage their work efficiently.

 

Integrating Jira with ManageEngine ADManager Plus provides organizations an efficient and streamlined solution for user lifecycle management. By leveraging Jira's features and ADManager Plus' automation capabilities, organizations enhance productivity, foster collaboration, and ensure accurate employee data management across their IT infrastructure.

Key highlights of integrating ADManager Plus with Jira
  1. Automated user provisioning
Ensure consistent and up-to-date user information across platforms, eliminating the need for manual data management and reducing the risk of errors in user account management.
  1. Advanced reports

    Comprehensive reporting and auditing capabilities, enabling IT administrators to track user activities, monitor changes, and generate compliance reports.

Actions supported

Integrating ADManager Plus with Jira enables IT admins to:

  • Create user accounts

  • Add users to groups

  • Modify user attributes

  • Remove users from groups

  • Modify user accounts with Template  options

  • Create mailbox

  • Reset passwords

  • Disable or delete mailbox

  • Unlock user accounts

  • Move the Home folder

  • Enable user accounts

  • Delete the Home folder

  • Disable user accounts

  • Revoke Microsoft 365 licenses

  • Delete user accounts

  • Manage users' photos

  • Run custom scripts

  • Disable Lync accounts

  • Move users across groups

  • Configure auto-reply settings

How to integrate ADManager Plus and Jira

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

  1. Under HCM applications, click on the Custom HCM tile to integrate a new custom HCM solution.

  1. In the Custom HCM Integration window that displays, enter a suitable Name, Description and upload a logo of Jira and click Save.

  1. Click on the Jira tile added in the previous step to configure the API authorization methods, endpoints and LDAP data mapping.

  1. In the Authorization section, select OAuth 2.0 as the Authorization Type.

    • Header Prefix: Specify a prefix value for your authorization header.

    • OAuth 2.0 Grant Type: The Authorization code is the default grant type.

Note: The client's credentials grantType is also supported.

    • Callback URL: You will be redirected to the Callback URL after authentication. This should be registered with the API provider.

    • Auth URL: Specify the Authorization Endpoint URL.

    • Access Token URL: Enter the OAuth server URL where the application can exchange the Authorization code for an Access Token.

    • Client ID and Client Secret: Enter a valid ID and its secret key.

    • Scope: Specify the data you would like to access.

  1. Click Advanced Options and choose the headers and query parameters from the Add To drop-down menu.
6. In the API Endpoint Configuration section, add the following:

                  Note: Click here to view Jiras' API references.

  • Click Advanced Options to add headers and parameters.

  • Method: Choose Get.

  • Headers: Click and configure the respective HTTP headers as configured in the endpoint.

  • Parameters: Cick and configure the query parameters as configured in the endpoint.

  • Message type: Select None.

  • Check the Repeat calling this Endpoint box to continually call the API until you get the required response. From the drop-down menu, select the parameter and specify the increment value. You can also set a condition which, when satisfied, calls the endpoint repeatedly. 

Note: You can configure multiple endpoints for a HCM solution.

  1. Once finished, click Test & Save. A response window will display the requested elements.

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

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

  1. In the Select Endpoint field, choose those columns that are unique to users (employeeIdenifier, username, etc.). The values in these columns should be consistent across all the endpoints.

  1. In the Attribute Mapping field, select the attribute from the LDAP Attribute Name drop-down menu and map it with the respective column in the HCM solution.

  1. Click Save.

While configuring an automation in ADManager Plus, select Jira as the Data Source and automate user management. Click here to learn more about automation configuration.

Steps to configure new app integration in Jira

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

2. Select Create and choose OAuth 2.0 integration.

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

4. Click Create.

Steps to set permissions in Jira

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

  1. Select My apps and choose the application you have integrated.

  1. From the left pane choose Permissions.

  1. Click Configure next to Jira API and set the required permissions.



Steps to generate the client ID and the secret in Jira

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

  1. Select My apps and choose the application you have integrated.

  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

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

  1. Select My apps and choose the application you have integrated.

  1. From the left pane choose Authorization.

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


Sample Postman configuration to get access token

  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 login page.


4. Log in with your Jira 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. Once you obtain the access token, utilize it in API requests.

 Here's an example of API integration to retrieve all users.


Method :   GET
API        :   https://api.atlassian.com/ex/jira/{cloudid}/rest/api/3/users

Sample Response:

[

    {

        "self": "https://api.atlassian.com/ex/jira/f91d7c83-fb9b-4b7b-b4ca-e63a5a7e699f/rest/api/3/user?accountId=63f7300240328c12e4ed4ab7",

        "accountId": "63f7300240328c12e4ed4ab7",

        "accountType": "atlassian",

        "emailAddress": "zykokepo@lyricspad.net",

        "avatarUrls": {

            "48x48": "https://secure.gravatar.com/avatar/4a724b53a06d06e900e0eb2815fbce3c?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FB-1.png",

            "24x24": "https://secure.gravatar.com/avatar/4a724b53a06d06e900e0eb2815fbce3c?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FB-1.png",

            "16x16": "https://secure.gravatar.com/avatar/4a724b53a06d06e900e0eb2815fbce3c?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FB-1.png",

            "32x32": "https://secure.gravatar.com/avatar/4a724b53a06d06e900e0eb2815fbce3c?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FB-1.png"

        },

        "displayName": "Baskar",

        "active": true,

        "locale": "en_US"

    },

{

        "self": "https://api.atlassian.com/ex/jira/f91d7c83-fb9b-4b7b-b4ca-e63a5a7e699f/rest/api/3/user?accountId=63f74dca40328c12e4ed55d7",

        "accountId": "63f74dca40328c12e4ed55d7",

        "accountType": "atlassian",

        "avatarUrls": {

            "48x48": "https://secure.gravatar.com/avatar/3b73abcf46e1e004566cc3a18515c163?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FJ-0.png",

            "24x24": "https://secure.gravatar.com/avatar/3b73abcf46e1e004566cc3a18515c163?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FJ-0.png",

            "16x16": "https://secure.gravatar.com/avatar/3b73abcf46e1e004566cc3a18515c163?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FJ-0.png",

            "32x32": "https://secure.gravatar.com/avatar/3b73abcf46e1e004566cc3a18515c163?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FJ-0.png"

        },

        "displayName": "jenish",

        "active": true,

        "locale": "en_US"

    },

]



                  New to ADSelfService Plus?