Allure TestOps - export test results to BitBucket

Export test results to Bitbucket

Prepare Bitbucket credentials and IssueTracker

  1. 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.
  2. Create an issue tracker for Bitbucket system. For example: Use bitbucket type and check properties for Sync and Export. Use Test Connection to check a connection.

  1. Open Launches menu area

  2. Select Export to issue on the left side menu

    Launch menu

  3. Select Bitbucket issue tracker created before

  4. 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
  5. Select required amount of issues

    Export to issue popup

  6. Push Submit button

See the results

  1. Open required object on Bitbucket server (issue/pull request)

  2. You will see the following comment

    Bitbucket comment

To provide a link on launch name the environment variable
`ENDPOINT` required on Allure TestOps side.