Integrate JIRA With SHAFT Engine
This guide provides the necessary steps to integrate JIRA with the SHAFT engine by creating an API token and configuring essential properties.
Steps
-
Log in to JIRA via Atlassian Login.
-
Click on Account Settings.
-
Click on the Security tab.
-
Click on Create and manage API tokens.
-
Click on Create API token.
-
Enter a label for your API token and click Create.
-
After the token is created, click on Copy to copy the token.
-
Set the Copied Token: Open your
JIRA.properties
file and set the copied token as the value for theauthorization
property:
Example Configuration
Below is an example of how to set these properties in your JIRA.properties
file:
# Enable interaction with JIRA
jiraInteraction=true
# JIRA instance URL
jiraUrl=https://your-jira-instance.atlassian.net
# JIRA project key
projectKey=PROJ
# Authorization token for JIRA APIs
authorization=your-copied-token
# Report test cases execution to JIRA
reportTestCasesExecution=true
# Path to test results file
reportPath=target/surefire-reports/testng-results.xml
# Name of the test execution session
ExecutionName=RegressionTestExecution
# Description of the test execution
ExecutionDescription=Automated testing for the latest regression suite.
# Automatically report bugs for failed test cases
ReportBugs=true
# Assignee for JIRA issues
assignee=jira-user-id
# Allure report link patterns
allure.link.tms.pattern=https://your-tms-instance.com/tms/{}