Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Detailed documentation on QMetry REST APIprovides all the details a developer would need for each of the API calls that are supported with code samples. The Headers, Body and Response provided here are for your reference only. You can use tools like Postman to try these APIs.

...

3.Supply an "Authorization" header with content "Basic" followed by the encoded string. For example, the string "fred:fred" encodes to "ZnJlZDpmcmVk" in base64, so you would make the request as follows.

Authorization:

Basic

ZnJlZDpmcmVk

Code Block

Option 2: If the Allow basic authentication on API calls option is disabled in Jira, then Personal Access Token is required for authentication.

...

  1. Go to User Profile.

  2. Click on Personal Access Tokens and click on Create token.

  3. Supply an "Authorization" header with content "Bearer" followed by generated token.

...

Authorization:

Bearer

NTE1NTYzMTg4MDEzOit5OlIjghTQQEH/YZ7HNrpSxvcU

Grouping of APIs

You can see the groups of APIs listed on the panel at the left. Just click on the section you want to view and use the APIs of. The section is expanded on the left as well as on the right panel showing APIs under it.

...

  • Request Type: API request type.

  • URL: The base URL will be as per your Jira instance.

  • Request:

    • Headers: Provide headers.

Content-Type : application/json

apiKey : {generated-api-key from QMetry > Configuration > Open API}

Authorization :Basic ZnJlZDpmcmVk

...