Overview
Perform operations on Jira users, groups, and Issues via Workflow Automator
Description
Orchestration apps let you automate repeatable tasks and actions that span across a diverse set of systems and applications using workflows. The list of actions supported for this app include:
User Management
Create User
Get User
Delete User
Add User to Group
Remove User from Group
Add User to Multiple Groups
Remove User from Multiple Groups
Group Management
Create Group
Delete Group
Issue Management
Create Issue
Update Issue
Get Issue
Delete Issue
Assign Issue
Add Comments to Issue
Add Ticket Attachment to Jira
Prerequisites
Create an API token from your Atlassian account:
Log in to https://id.atlassian.com/manage/api-tokens.
Click Create API token.
From the dialog that appears, enter a memorable and concise Label for your token and click Create.
Click Copy to clipboard, then paste the token to your script, or elsewhere to save:
Note:
For security reasons it isn't possible to view the token after closing the creation dialog; if necessary, create a new token.
You should store the token securely, just as for 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.
App Installation Parameter
To install and authenticate the app in Orchestration Center, the following inputs are to be provided:
Config Name - Give your connection to Jira a name to identify which account you are connecting to.
Jira Account URL - The Jira admin account URL. Example: demo.atlassian.net
Email - The Jira admin account email.
Api Token - Obtain it from Jira account as mentioned above.
The following two parameters are required for attaching Freshservice ticket attachments to Jira Issue.
Freshservice Domain - The domain of your Freshservice tenant. Example: demo.freshservice.com
Freshservice API Key - Login to your Freshservice tenant. Click on your profile icon then "Profile Settings" on the right side pane, under "Your API Key" complete the captcha and copy your API key.
The below GIF demonstrates the retrieval of App installation parameters
Usecases
Now that you've successfully installed the JIRA orchestration app, please have a look at the sample use case below to show how the app can be used efficiently.