Set up Ticketing and Jira
Connect Mondoo to Atlassian Jira to create security remediation issues directly from the Mondoo App.
Connect a space to Jira so team members can create Jira issues for findings without leaving the Mondoo App. Mondoo files each issue with a token for a Jira account you provide.
For an overview of ticketing, read Track and Fix Findings with Ticketing.
Mondoo offers an alternative method for sharing tickets with Jira: an email integration. This approach lets you tap into the automation features of Jira's incoming mail handler. To learn how to create an email integration for ticketing, read Set up Ticketing to Email Your External Ticket System.
Before you begin
-
To add the integration, you need the Editor or Owner role, or another role with this permission. To create tickets, team members need the Editor or Owner role, or another role with permission to create tickets. To see every role, read Roles and permissions.
-
A Jira account that can browse the projects where you want Mondoo to add issues, and can create, edit, comment on, and link issues in them. Mondoo files every issue as this account. To let Mondoo close issues automatically, the account also needs permission to transition issues.
-
A token for that Jira account:
- For Jira Cloud, an API token. To learn how to create and copy an API token, read Manage API tokens for your Atlassian account in the Atlassian documentation. If you create an API token with scopes, you also need your site's cloud ID. Mondoo sends requests for a scoped token through the Atlassian API gateway, which identifies your site by its cloud ID.
- For Jira Data Center or Jira Server, a personal access token. Create one in Jira under Profile > Personal Access Tokens. Mondoo connects to your Jira instance from the Mondoo cloud, so the instance must be reachable from the internet. Mondoo doesn't connect to private network addresses.
Add a Jira integration
-
In the Mondoo App, navigate to the space where you want to set up ticketing and, in the side navigation bar, select Integrations.
-
Select INSTALL, then choose the Ticket Systems category.

-
Select Atlassian Jira.

-
In the Choose an integration name box, enter a name for the integration. Make it a name that clearly shows this is a Jira integration.
-
Under Provide your Jira credentials, choose an Authentication method:
- API token (Jira Cloud) for a Jira Cloud site
- Personal access token (Jira Data Center / Server) for a self-managed Jira instance
-
In the Jira host box, type the URL of your Jira instance. Example:
https://lunalectric-workspace.atlassian.net -
If you chose API token (Jira Cloud):
- In the Email address box, enter the email address you use to log into your Jira instance.
- In the API token box, paste your API token.
- If you use a scoped API token, enter your Atlassian cloud ID in the Cloud ID (optional) box. To find it, open
https://<your-instance>.atlassian.net/_edge/tenant_infoin your browser. Leave the box empty for an unscoped API token.
-
If you chose Personal access token (Jira Data Center / Server), paste your token in the Personal access token box.
-
Under Preferences, choose how the integration behaves:
- Automatically close issues is on by default for new integrations: closing a ticket in Mondoo also closes the corresponding Jira issue.
- To create a Jira issue for each drift ticket when an asset becomes more exposed to attack, turn on Automatically create tickets on drift. Drift tickets also require the space's Regression setting. To learn more, read Automatically create tickets on drift.

-
Select the CREATE INTEGRATION button.
Mondoo creates the integration and opens its page. To change these settings later, select the pencil icon (Edit integration) on that page.
Choose the Jira issue type
When you create a ticket with a Jira integration, the Create Ticket dialog asks for a Jira Project and an Issue Type. The Issue Type list shows the issue types of the selected project, including custom types. Jira's built-in types (Task, Story, Bug, and Epic) come first, then the project's other types in alphabetical order. Sub-task types aren't listed, because Jira can't create a sub-task without a parent issue.
Mondoo fills in only the summary, description, labels, and, when the finding has an SLA, the due date. For each issue type, Mondoo reads from Jira which fields the type requires. A type that requires a field Mondoo doesn't fill in, and that has no default value in Jira, appears greyed out as <type> (requires <fields>) and you can't select it. To use that type, make the listed fields optional or give them a default value in Jira.
The dialog preselects the issue type you last chose for that integration in the same browser, if the selected project offers it. Otherwise it preselects Task, or the first type you can select if the project has no Task type you can use. If Mondoo can't load the project's issue types from Jira, the list offers Task, Story, Bug, and Epic.
Verify the integration
Mondoo doesn't contact your ticket system when you save the integration, so a mistyped URL, a wrong token, or a missing permission only shows up when Mondoo files its first ticket. Create one test ticket to confirm that the integration works:
-
In the side navigation bar, select Findings, then open any check or advisory. To learn more, read Create Tickets from Checks or Create Tickets from Advisories.
-
Select ACTIONS > Create ticket.
-
In Select Integration, choose the integration you just added, provide the fields it asks for, and select CREATE TICKET.
Mondoo confirms that the ticket is being created and that the external ticket will be ready shortly.
-
In the side navigation bar, select Ticketing and find the test ticket on the Open tab. As soon as Mondoo has filed it, the External Ticket column shows the issue or ticket it created (for an email integration, the recipient).
-
In your ticket system, confirm that the new issue or ticket exists and contains the finding details.
-
Close the test ticket in Mondoo. If the integration closes external tickets automatically, Mondoo closes the external one too. To learn more, read Close a ticket.
If the External Ticket column stays empty or the ticket's status is Error, read Troubleshoot below.
Troubleshoot
A failed ticket doesn't change the integration's status. Instead, Mondoo records the error that Jira returned in the Most Recent Activity table on the integration's page. To open it, select Settings > Ticketing in the side navigation bar, then select the integration in the Connected integrations list. To show only failures, filter the table by Errors.
Jira projects don't load
Message: The Create Ticket dialog shows "Failed to load Jira projects. You can enter the project key manually."
Mondoo can't sign in to Jira. The host, email address, or token is wrong, the token expired or was revoked, or a scoped API token has no cloud ID.
Fix: Select the pencil icon (Edit integration) on the integration's page, check the Jira host and Email address, and enter a new token. For a scoped API token, also enter the Cloud ID (optional).
The project you want isn't listed
Symptom: The Create Ticket dialog doesn't list the project you want.
The Jira account can't browse that project.
Fix: In Jira, give the account access to the project.
Mondoo can't find the Jira project
Message: Most Recent Activity shows failed to get Jira project.
The project key doesn't exist, or the Jira account can't browse the project.
Fix: Check the project key, or give the account access to the project in Jira.
Jira requires a field Mondoo doesn't fill in
Message: Most Recent Activity shows failed to create Jira issue, followed by a field and Jira's message, such as components: Components is required.
The project requires a field for that issue type that Mondoo doesn't fill in. Mondoo fills in only the summary, description, labels, and due date. The Issue Type list greys out the types that need such a field, but Mondoo checks the required fields of only the first 50 issue types in a project. A type past the first 50, or a type whose required fields Jira doesn't report, stays selectable, so Jira rejects the ticket only when Mondoo creates it.
Fix: In Jira, make the field optional or give it a default value for the issue type, or create the ticket in a project or with an issue type that doesn't require it.
Mondoo can't link the Jira issue to the finding
Message: Most Recent Activity shows failed to create Jira remote issue link.
Mondoo created the Jira issue but couldn't link it to the finding, so the Mondoo ticket doesn't reference the issue. The Jira account can't link issues, or issue linking is turned off in Jira.
Fix: Give the account permission to link issues, or turn on issue linking in Jira. Then delete the Jira issue that has no Mondoo ticket and create the ticket again.
Closing a Mondoo ticket doesn't close the Jira issue
Symptom: Closing a ticket in Mondoo doesn't close the Jira issue.
Mondoo closes an issue by moving it through the workflow transition named Done. The issue's workflow has no transition with that name available from the issue's current status, or the Jira account can't transition issues.
Fix: Add a Done transition to the workflow, or give the account permission to transition issues. You can also turn off Automatically close issues and close Jira issues yourself.
After you fix the cause, create a new ticket for the finding and close the one that failed.
Next steps
Last updated on