Jira
Jira connects with OAuth 2.0 through Truto's Atlassian app or your own, or with an Atlassian API token.
Install the Jira integration
Install Jira from Available integrations in each environment you connect accounts from.
Use your own Jira OAuth app
Truto connects Jira accounts through its own OAuth app, so this step is optional. To show your own app on the consent screen instead:
- Create an OAuth 2.0 integration in the Atlassian developer console and add
https://api.truto.one/connect/jira/callbackas its redirect URL. If you use a redirect URL on your own domain, add that URL instead. - Enter the app's Client ID and Client Secret on the installed Jira integration. See Overriding OAuth credentials.
By default, Truto asks Jira for these scopes. The Connect UI lists them under Permissions required, and you can change them when you override the OAuth credentials.
read:jira-workmanage:jira-projectmanage:jira-configurationread:jira-userwrite:jira-workmanage:jira-webhookmanage:jira-data-providerread:application-role:jiraoffline_access
Enable the same scopes on your app. If your app allows fewer, change the list under Use your own OAuth settings → Scopes on the installed integration's Configuration tab to match.
Connect a Jira account
The User Directory Activities API resource only works on Jira's Standard and Premium plans.
- In Integrated Accounts, click Connect Account.

- Enter a Tenant ID (your customer's ID; Truto creates the tenant if it is new), or pick one under Existing tenant (optional). Check the Environment and the Region (where Truto places the account; Western North America by default). To open the link straight on Jira, pick it under Advanced settings → Integration (optional). Click Get connection link.

- Click the open-in-new-tab button, or click Copy and send the link to your customer so they connect their own Jira account. The link works for 7 days, until an account is connected with it.

- Click Get Started if it shows, then select Jira.

- Choose how to connect:
- OAuth 2.0: log in to your Jira account and allow access to Truto. If your Atlassian account can reach more than one site, pick the Jira site to connect. One integrated account connects one site; connect again for each other site.
- API Key: enter your Jira Email Address, an API Token created at id.atlassian.com, and your Jira Domain: the host in your browser URL, without
https://or a path, for exampleacme.atlassian.net. Click Connect.
- Close the tab when you see Connection successful. The new account appears under Integrated Accounts. Click its Account ID to see its details and make API calls.
Receive webhooks
Jira can send issue, comment, attachment, project, version and user changes to Truto, which passes them on as unified record:* events. Truto doesn't check a signature on Jira webhooks, so there is no secret to set.
- Install the Ticketing Unified API in the environment. Truto turns Jira events into
record:*events only through it; without it, events are dropped. - Subscribe a Truto webhook to
record:created,record:updatedandrecord:deleted, orall. See Creating a webhook. - Register
https://api.truto.one/integrated-account-webhook/<integrated_account_id>with Jira:- A Jira administrator can add it under Settings → System → WebHooks, or through the Proxy API
webhook-v1resource. - An account connected with OAuth 2.0 can register it through the Proxy API
webhooksresource. Jira accepts only issue, comment and version events this way, requires a JQL filter, and expires the webhook after 30 days unless you renew it with the resource'srefreshmethod.
- A Jira administrator can add it under Settings → System → WebHooks, or through the Proxy API
| Jira event | Truto event |
|---|---|
jira:issue_created / _updated / _deleted |
record:created / updated / deleted on ticketing/tickets |
comment_created / _updated / _deleted |
record:created / updated / deleted on ticketing/comments |
attachment_created / _deleted |
record:created / deleted on ticketing/attachments |
project_created, project_updated, project_restored_deleted, project_restored_archived |
record:created or record:updated on ticketing/collections |
project_deleted, project_soft_deleted, project_archived |
record:deleted on ticketing/collections |
jira:version_created, _updated, _moved, _released, _unreleased, _deleted |
record:created, updated or deleted on ticketing/collections |
user_created / _updated / _deleted |
record:created / updated / deleted on ticketing/users |