- Generate Jira API token
- Configure Jira Integration on Endor Labs
- Associate an action policy with a Jira notification
Generate Jira API token
Generate Jira API credentials that you want to use to sign in to Endor Labs.We recommend that the Jira account used for this integration includes only the following set of minimum required permissions.
- Create Issues
- Transition Issues
- Assign Issues
- Resolve Issues
- Add Comments
- Sign in to your Jira account.
- Navigate to your Jira profile.
- Under API tokens, click Create API Token. Endor Labs supports classic Jira API tokens only. Scoped API tokens are not supported for this integration.
- Enter a concise label to distinguish your token and click Create.
- Click Copy to clipboard, and have the token handy to enter in the Endor Labs application.
You cannot view the token after you close the form. Copy it to a secure location and have it handy. Do not share the token.
Configure Jira Integration on Endor Labs
Set up Jira integration on the Endor Labs application.- Sign in to Endor Labs.
- From the sidebar, navigate to Integrations.
- Under Notifications, click Manage for Jira.
- Click Add Notification Integrations.
- Enter a name and description for the integration.
- Enter a Jira username. The user account appears as the reporter for all the tasks or bugs created in Jira for this notification. We recommend creating a new user account for receiving Jira notifications from Endor Labs.
- In API Key, enter the API token that you generated from Jira.
- In Jira URL, enter the HTTPS endpoint of your Jira instance.
-
Select one of the following In Authentication Method:
- Basic Authentication: If you are using Jira cloud, enter your Jira user name in Username and the API token that you generated from Jira in API Key.
- Personal Access Token [PAT]: If you are using Jira Data Center, enter the personal access token (PAT) in Access Token.
-
In PROJECT Key, enter the project key of your Jira project in which you want to create the notifications.
The project key is the prefix of the bug or task ID. For example, if the project key is
ENG, Jira creates the task or bug with an ID in the formatENG-352. -
In ISSUE TYPE, enter the notification issue type such as
Task,Bug,Story,Sub-Task, orEpic. The issue type is case-sensitive. Make sure to match with an exact issue type on your Jira board.Make sure the endorctl version is 1.6.547 or higher to use ISSUE TYPE. -
In RESOLVED STATUS, specify the resolved status used in your Jira projects.
For example, if you enter the value as
Completed, after you resolve the findings, Endor Labs updates the Jira ticket to this status. If you don’t specify a status, Endor Labs attempts to determine your project’s resolution status. It defaults to one of the following in priority order:Done,Resolved,Closed, orFixed. - In LABELS, enter a label to associate it with your Jira notifications.
- For company-managed Jira project, enter one or more component values in COMPONENTS. These values are automatically populated in the Components field of the created Jira ticket.
-
Click Add Custom Field to add custom
KEY-VALUEpairs in the created Jira ticket. Use this to create a Components field in your team managed Jira project. For example, you can addSourceas KEY and associate it toEndor Labsin VALUE, so that every notification created will now have the informationSource = Endor Labsassociated with the ticket. For team-managed Jira project, use Add Custom Field to create a Components field in your Jira ticket. In KEY enterComponentsand enter the component value in VALUE.Ensure that the endorctl version is1.6.567or higher to use Custom Fields. Check that the KEY you enter matches an existing custom field in your Jira project. Otherwise, you cannot save the notification and the KEY-VALUE pair will not appear in your Jira ticket. - Click Propagate this notification target to all child namespaces to apply this Jira notification target to all child namespaces within the hierarchy.
- Click Add Notification Integration.
Manage Endor Labs Jira notifications
You can view and manage the Endor Labs Jira notifications created for a project.- From the sidebar, navigate to Integrations.
- Under Notifications, click Manage for Jira.
- To edit a notification, click the vertical ellipsis and choose Edit Notification Integration.
- To delete a notification, click the vertical ellipsis dots and choose Delete Notification Integration.
Associate an action policy with a Jira notification
Users can create action policies to execute a recommended action when a scan violates a policy. For example, if there is a license compliance violation, you can create a Jira ticket and notify the required personnel. While creating an action policy, configure the following settings:- Select Choose an Action as Send Notification.
- From SELECT NOTIFICATION TARGETS, choose the Jira integration notification that you created.
- Choose an Aggregation type for Jira notifications.
- Choose None (Notify for each Finding) to trigger a separate notification for each finding. This can result in a high volume of Jira tickets.
- Choose Project to trigger a single notification for all findings.
- Choose Dependency to trigger a notification for every dependency.
- Choose Dependency per package version to trigger notifications for every unique combination of dependency and package version.
View ticket details in Jira
Endor Labs creates a parent ticket with the selected issue type, either a Task or a Bug, and includes the project name. It assigns each identified dependency to a dedicated sub-ticket that includes both the project name and the dependency name. It groups findings without dependencies into a separate sub-ticket. During future scans, Endor Labs updates existing sub-tickets or marks them as resolved. If Endor Labs detects a new dependency, it creates a new sub-ticket.- Sign into your Jira account.
- Navigate to Projects drop down menu in the top bar and select your project.
- Click on the issue to view its details.

endorlabs-scan: Indicates that an Endor Labs scan created the ticket.endor-severity: Theendor-severitylabel has an associated value,critical,high,medium, orlow, that reflects the severity of the associated Endor Labs finding. If a ticket includes multiple findings with different severities, the label represents the highest severity among them.
For Dependency and Dependency per package version aggregation types, Endor Labs includes the
endor-severity label in the sub-task.
- If Endor Labs detects new findings, it adds a comment with their details.

- If existing findings resolve, Endor Labs adds a comment with their details.

View Jira notification in Endor Labs
View created Jira tickets in Endor Labs, including their status (open or closed), associated action policy, and number of violations.- From the Endor Labs application, navigate to Manage and click Notifications.
- Navigate across the Open, Resolved, or All tabs to view the issues listed under them.
- You can view specific details such as created date of the ticket, the name of the policy, the name of the project, the number of violations, and any labels associated with the projects.
- Choose a notification and click the vertical three dots on the far right side and choose:
- Dismiss Notification: Clear this notification if it is no longer valid. Endor Labs marks it in grey.
- Show Details: View the Jira ticket number and you can also navigate to Jira.
- Go to Policy: View configuration details of the policy that created this Jira ticket.