Allure TestOps - export test results to Youtrack

Export test results to Youtrack

Prerequisites

  1. You need to have ROLE_ADMIN to be able to configure credentials and issue tracker in Allure TestOps.

Adding YouTrack issue tracker

Adding an issue tracker to Allure TestOps configuration has 2 steps:

  1. You need to create credentials for the system you are going to integrate.
  2. You need to add the issue tracker with certain type (in this case that would be YouTrack).

Adding credentials

  1. Go to the Administration and jump to the Credentials section.
  2. Click +Create
  3. Add a new credential as follows
    1. Credentials name - your choice but you need to use distinguishable name something like YouTrack integration
    2. Credentials type - basic for YouTrack.
    3. Username - your username from YouTrack (JetBrains account).
    4. Password - the password for the user from item #3.

Adding the issue tracker

  1. Go to the Administration and jump to the Issue tracker section.
  2. Click +Create
  3. Add a new issue tracker as follows
    1. Name - your choice but you need to use distinguishable name something like YouTrack production
    2. Endpoint - the URL of your YouTrack instance e.g. https://company.myjetbrains.com/youtrack
      • no additional paths to project or API entry point here!
    3. Type - youtrack.
    4. Credentials - select the credentials you created in Adding credentials section from the drop-down list.
  4. Click Test connection.
  5. Submit the information.
  1. Go to your project.

  2. Open Launches section.

  3. On a certain Launch of your choice select click Launch action button (looks like a hamburger)

  4. Select Export to issue.

    If you see this, create ticket to support.qameta.io

  5. Select issue tracker you’ve created

  6. Type issue key and select a create option or choose the existing one from the suggested list.

  7. Select as many issues as you need

    If you see this, create ticket to support.qameta.io

  8. Push Submit button

See the results

  1. Open the issue on the Youtrack server.

  2. You will see the following comment

    If you see this, create ticket to support.qameta.io

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