API to sync Jira project metadata to QMetry after upgrade

QMetry comes with many improvements to the Jira integration. After your QMetry upgrade 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.
  • Ensure that your "Jira Integration - QMetry Enterprise" Jira app is upgraded to the compatible version.
  • 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

  • This API should be executed only once.
  • The API will start syncing Jira Project meta-data in a sequential manner and can be seen executing from QMetry > Integrations > Integration Scheduler Status tab.


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.