Preparation
The key requirement for completing this task is configured and functioning integration with your issue tracker. The integration should be added at the global level and to your project.
You can learn more about integration settings in this section of the documentation: https://docs.qameta.io/allure-testops/integrations/
Setup
For the setup, we will need the following information:
- Your integration ID
- The issue key in your issue tracking system
Step 1: Getting the integration ID
- Go to the "Administration" section, open the "Integrations" menu, and find the integration that you set up for your project. Locate the integration ID. In my example, the integration ID is 3562.
Step 2: Getting the issue key
- During the integration setup, you specified the issue key that you use in your issue tracker. This is the value we need. In my example, it’s AE-6.
(screenshot 2)
Modifying the pipeline
Now that we have the necessary data, we need to add a command to link the launch to an issue in the issue tracker. To do this, add the following line immediately after the test run:
allurectl launch add-issue --current-launch --integration-id integration_id --issue-keys issue_key_1
where:
integration_id
is your integration ID (obtained in step 1).issue_key
is your issue key (e.g., AE-1, AE-2).
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article