Nexus IQ for Jira
Nexus IQ for Jira
How to create Jira issues for policy violations using the INexus IQ for Jira add-on
Install Nexus IQ for Jira
Get it from the Atlassian Marketplace: https://marketplace.atlassian.com/apps/1220548/nexus-iq-for-jira?hosting=server&tab=overview
Jira notifications are only available if the Nexus IQ for Jira add-on is installed and configured to communicate with IQ Server via a webhook. See the sections below for more information.
Set up an IQ Server webhook
Follow this guide to create an IQ Server webhook or use an existing one. Please make sure that the Violation Alert event type is checked and a Secret Key is set.
Set up Jira notifications
The Jira notification will create a Jira issue when new policy violations are discovered during the development process. To create Jira notifications, you must have already installed the Jira add-on and configured its communication with IQ Server via a webhook.
To configure Jira notifications:
- Select the Policy for which you will be notified when that policy is violated.
- Select Webhook from the Recipient Type drop-down menu.
- Select the Webhook from the Select Webhook drop-down menu.
- Click Add to add the notification.
Once you have created the notification, you can then choose at which stage(s) you would like to be notified.
Configure connection of the Jira add-on with IQ Server
- At Jira, choose the cog icon at the top right corner.
- Select Applications from the pop-up menu.
- Select IQ Jira Plugin.The Nexus IQ Configuration page shows up.
- Set the IQ Server configuration parameters.
- Click the Test button to confirm that a connection can be established.
- Click the Save button to save the configuration.
Map a Jira project to an IQ organization and/or application
A Jira project can be mapped to one or more IQ organization or applications. When a new violation occurs that corresponds to these IQ organizations or applications a new Jira issue is created. You can also select the Jira issue type and set default values for custom fields (e.g. Reporter). If the Create issue per component checkbox is selected, a sub-task is created for each component violation.
Once the mapping has been configured a Jira issue will be created when new policy violations occur.