Article Overview:
This article will cover how you can achieve the following:
How do we integrate Jira with Virtuoso to manage issue tracking effectively.
Problem Statement:
When managing test automation in Virtuoso, you may need to streamline issue tracking and reporting by integrating with Jira. Without this integration, tracking defects, associating them with specific execution steps, and managing their status can become manual and time-consuming. This article addresses how to efficiently integrate Jira with Virtuoso, enabling you to automate ticket creation, updates, and management directly within Virtuoso, thus improving workflow and project visibility.
Solution:
Below are the steps to perform integration between Virtuoso and achieve the following:
- Create Jira tickets on execution steps/journeys.
- Assign already created Jira tickets to execution steps/journeys.
- Specify labels on tickets.
- Close Jira tickets.
- Unlink Jira tickets.
- Inform Jira ticket changes for updates in Virtuoso.
- Provide ticket summaries across projects and goals.
To perform the Jira integration, please ensure the following prerequisites.
Prerequisites:
Before setting up the Jira-Virtuoso integration, ensure you have the following:
-
Jira Instance
- Jira Cloud (recommended) or Data Center/Server instance.
-
Dedicated User in Virtuoso
- Create a dedicated app user in Virtuoso with write access to the projects to be tracked.
-
Dedicated User in Jira
- Create a dedicated user in Jira with administrative privileges on the projects you wish to integrate. Administrative access is necessary for setting up webhooks to ensure updates between Jira and Virtuoso.
Connecting Virtuoso to Your Jira Instance
-
For the Jira Cloud Instance
- URL: Your Jira instance URL.
- Email: The email associated with the Jira account.
- API Token: An API token from the Jira account.
- Instance Type: Set to CLOUD.
Generate an API token using the Manage API tokens for your Atlassian account guide.
-
For Jira Data Center/Server Instance
- URL: Your Jira instance URL.
- Email: The email associated with the Jira account.
- Personal Access Token: A personal access token from the Jira account.
- Instance Type: Set to SERVER.
Generate a personal access token using the Using personal access tokens guide.
Supported Versions: Virtuoso officially supports Jira Data Center/Server version 8.20.15 and higher.
JIRA Application Setup in Virtuoso:
To install the Jira Virtuoso App, follow the below steps.
- Sign in to Virtuoso using your credentials.
- Go to the Organization dashboard and click on the “Apps” tab.
- Click on “Jira Software - Project and issue Tracking” and Click on the install app button.
4. Based on the Jira Instance, fill in the required fields in the Configuration section
and click on Save Configuration.
Configuration Steps
For the Jira Cloud Instance
- Enter your Jira instance URL.
- Enter the Jira user email.
- Enter the Jira API token.
- Set the Jira Instance Type to “CLOUD”.
- Specify a label for issues created from Virtuoso.(Optional)
For Jira Data Center/Server Instance
- Enter your Jira instance URL.
- Enter the Jira user email.
- Enter the personal access token.
- Set the Jira Instance Type to “SERVER”.
- Specify a label for issues created from Virtuoso. (Optional)
Create Jira tickets on execution steps/journeys:
- Go to “Project Activities” and Open an execution.
- Select the “step”, on the left side panel
- Click on the “Tickets” from the Step editor tab.
- Click on the “Create Ticket” Button.
- Fill out the form with the following fields:
a. Jira project: this field lists all Jira projects available, filtered by user input;
b. Issue type: this field lists all the supported issue types;
c. Title: This field accepts the summary of the issue to be created;
d. Description: optional, this field accepts a description of the issue to be created and is prefilled with a default description with several details about the execution.
- Click on Create Ticket. A ticket will be created, and a "Task" will appear in the Jira project.
Link tickets to Jira in Virtuoso.
Similar to creating a ticket, you can assign existing external tickets (e.g., Jira issues) to Virtuoso execution results through the tickets tab in the Execution view.
- Go to the required execution and click on the “Ticket” Tab.
- Click on “Assign ticket”.
- Fill the form details and click on “Assign ticket”.
Close tickets:
Tickets can be closed in three ways:
- When the ticket achieves a final status in the external provider (e.g., marked as "Done" in Jira).
- When the ticket is manually unlinked in Virtuoso.
- When the ticket is archived in Virtuoso.
Note: If a ticket is unlinked or archived, it will stop receiving and sending updates to its external provider.
To see the closed tickets, click on the "Closed" tab in the tickets list.
Unlink ticket:
- Go to the Ticket tab.
- Click on More Options for the required ticket.
- Click on Unlink Ticket.
4. Click on Yes, Unlink. Unlinked tickets are shown in the closed tickets list and will have a "broken link" icon next to the ticket's title.
5. Unlinked tickets are shown in the closed tickets list, and will have a "broken link" icon next to the ticket's title.
Specify labels on tickets:
To add a label to tickets, specify the label in the App's Configuration section. This allows labels to be added automatically when creating a ticket from Virtuoso.
Provide ticket summaries across projects and goals:
- Go to the “Project Dashboard”.
- Click on the “Ticket” tab. Active and closed tickets for the entire project will be displayed.
Comments
0 comments
Please sign in to leave a comment.