Export test results to Bitbucket
Prepare Bitbucket credentials and IssueTracker
-
Create a credential for bitbucket under Administration area in Allure TestOps. Use basic type and username/password from Atlassian account.
Use an username and password NOT an api token.
-
Create an issue tracker for Bitbucket system. For example: https://bitbucket.org Use bitbucket type and check properties for Sync and Export. Use Test Connection to check a connection.
Link launch with issue
-
Open Launches menu area
-
Select Export to issue on the left side menu
-
Select Bitbucket issue tracker created before
-
Type issue key and select a create option or choose the existing one from the suggested list
For the integration with Bitbucket the following issue key format can be used:
<owner>/<repository>/<type>/<number>
owner
- This can either be the username or the UUID of the account, surrounded by curly-braces, for example: {account UUID}. An account is either a team or user.repository
- This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example.type
- The type of object where we want to send an information about the launch. (Can use “issue” or “pr” values)number
- The issue or pull request id
-
Select required amount of issues
-
Push Submit button
See the results
-
Open required object on Bitbucket server (issue/pull request)
-
You will see the following comment
To provide a link on launch name the environment variable `ENDPOINT` required on Allure TestOps side.