API to sync Jira project metadata to QMetry after upgrade to v8.6.4

QMetry v8.6.4 comes with many improvements to the Jira integration. After your QMetry upgrade to 8.6.4 is complete, QMetry admin should run the following API using an API client like POSTMAN to sync Jira project metadata for all the Jira projects that are integrated with QMetry.

Pre-requisite :

  • This API should be run only after you've upgraded QMetry to v8.6.4.
  • Ensure that your "Jira Integration - QMetry Enterprise" Jira app is upgraded to v2.0.9.
  • Go to Jira > Manage apps > QMetry Configuration > Test and Save your QMetry admin / service user credentials.

You can also import the POSTMAN collection into your postman client app, and update relevant parameters as per the below table.

Sync Jira Projects metadata

API Endpoint

/rest/admin/resyncJiraIntegrations

Request Type

POST

Request Headers

Content-Type: application/json

Request Parameters

Name
Located in
Required
Description
openAPIKey
bodyyes
  • Open API key of "admin" user. Go to QMetry > Integration > Open API to generate.
  • Specify this API Key
usernamebodyyesEnter "admin"
typebodyyesEnter "server"
clientIDsbodyyes1,2

Below is an example body for reference.

Example Request Body
{
    "openAPIKey": "Enter_OpenAPI_Key_of_admin",
    "username": "admin",
    "type":"server",
    "clientIDs": [
        1,2
    ]
}
To verify if the metadata sync has completed, go to QMetry > Integration > Integration Scheduler Status and check the status of your metadata sync.