This article describes how to set up SaaS discovery and orchestration for the Jira software via direct integration in Freshservice. Further, this article also explores how to use the Jira software in Freshservice post set up.
Here's a list of what this article covers.
CONTENTS
Overview
Orchestration and discovery apps let you automate repeatable tasks and actions that span across a diverse set of systems and applications using workflows.
The Jira software/app enables you to manage specific operations or actions related to Jira users, associated groups, and issues via the Workflow Automator.
Prerequisites for setting up the Jira app
Before installing the Jira software in Freshservice, you must have an API token created from your Atlassian account.
To create an API token from your Atlassian account:
1. Log in to https://id.atlassian.com/manage/api-tokens.
2. Click Create API token.
3. In the Create an API token dialog that appears, enter a Label for your token, and click Create.
4. In the Your new API token dialog, click Copy. Then, paste the token to a script or file, and save it for future reference.
Note:
- For security reasons, it's not possible to view the token after you close the dialog box. If necessary, create a new token.
- You should store the token securely, just like any password.
- Users automating the 'Create user' action via JIRA - Orch app will now have to pass the mandatory field "products" (mandated by JIRA/Atlassian). The values need to be jira-core, jira-servicedesk, jira-product-discovery, jira-software, OR "null" value to bypass this mandatory field.
Installing or updating the Jira app
You must install (for new users) or update (for existing users) the Jira app in Freshservice.
To install or update the Jira app:
1. Go to Admin > Automation & Productivity > Extensibility > Apps. Or, you can also find all SaaS discovery integrations at Admin > SaaS Management > SaaS Integrations.
2. Search and select Jira - Orch.
3. Click Install or Edit settings. The Configuration page opens.
4. Click Add New. The Add Account page opens.
5. Enter a name in the Config Name box.
6. Select the required credential type from the Credential dropdown.
- If you select Inline Credentials from the Credential dropdown:
- Enter the Jira admin account URL in the Jira Account URL box (Example: demo.atlassian.net).
- Enter the Jira admin account email in the Email box.
- Enter the API token you obtained from Atlassian account in the API Token box.
- Enter your Freshservice tenant domain in the Freshservice Domain box (Example: demo.freshservice.com).
- Enter your Freshservice tenant API key in the Freshservice API Key box.
Note: Inline Credentials is a basic authentication mechanism that only supports orchestration actions via the Workflow Automator. If you want to enable SaaS discovery, you need to add an additional configuration using OAuth 2.0.
- If you select OAuth 2.0 from the Credential dropdown:
- Enter your Freshservice tenant domain and API key in the respective boxes.
- Click the Enable SaaS Discovery toggle button to enable SaaS discovery.
Note: OAuth 2.0 supports SaaS discovery as well as orchestration actions (except 'Create user' and 'Delete user' actions). If you want to create and delete users via workflows, you need to add an additional configuration using Inline Credentials. This is a limitation imposed by Atlassian Jira APIs.
- See OAuth 2.0 (3LO) apps for information on how to configure OAuth 2.0 credentials.
- See Jira scopes for OAuth 2.0 (3LO) and Forge apps for information on Jira scopes, which enable an app to request a level of access to an Atlassian product. These scopes enable the SaaS discovery capability.
- See Guidelines for requesting access to email address when Atlassian Jira restricts email discovery for users who've hidden their email addresses in profile visibility settings.
- See Suspend user access for information on how to suspend user access for Atlassian products, make licenses available for active users, and maintain respective users in groups for easy restoration.
7. Click Add.
You are now ready to use the Jira app in Freshservice.
Using the Jira app post set up
The Jira app in Freshservice allows you to discover user information, manage contracts and relationships, and provides you with an overview of usage activity, contracts utilization, and so on.
Supported operations/actions
Some of the key actions supported in the Jira app include:
Management type | Action type (s) |
---|---|
User management |
|
Group management |
|
Issue management |
|
To use the Jira app in Freshservice:
1. Go to Assets > Software. Search and select Jira. The Overview tab opens.
2. On the Overview tab, you can:
- View the usage activity information (such as, number of active users, number of inactive users, low usage, no usage, and so on)
- View the contracts utilization information (such as, licenses purchased, used, available, and so on)
- View the contracts overview information (such as, total annual cost, potential savings, and so on)
- Edit the app properties, move, or delete the app
3. Click the Users tab to view all the user information, such as name, department, source, status, usage %, and so on. You can also add/delete users, add users to groups or remove, and apply filters to view the required data.
4. Click the Contracts tab to view all the contract information, such as name, license type, number of licenses, status, created date, and so on. You can also create or delete contracts.
5. Click the Relationships tab to view all the relationship information with users and other apps in a list view or mini map view. You can also add or delete relationships.
Sample use case
After you've successfully installed the Jira - Orch app, see the sample use case below to learn how the app can be used efficiently.