QMetry Configuration


Get issue types

GET /utils/issuetype

Description

Returns list of issue types. You can further filter this list by QMetry features Enabled property.


Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

keyFilter

When fetching a list allows to be filtered by QMetry enabled property. Possible values are QMetryEnabled and ALL. Default value is ALL.

false

string



Responses

HTTP CodeDescriptionSchema

200

Successful operation

No Content

403

Returned if the currently authenticated user does not have permission to access issue types.

No Content

500

Returned if there is some problem in fetching issue type list.

No Content


Produces

  • application/json


Tags

  • Utils


Update issue type

PUT /utils/issuetype/{issueTypeId}

Description

Update QMetry features enabled property of given issue type.


Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

issueTypeId

Id of issue type

true

integer (int64)


QueryParameter

isQMetryEnabled

A boolean value that indicates whether QMetry features is enabled or not for given issue type

true

boolean



Responses

HTTP CodeDescriptionSchema

200

Successful operation

No Content

403

Returned if the currently authenticated user does not have permission to update issue type.

No Content

500

Returned if there is some problem in updating issue type.

No Content


Consumes

  • application/json


Produces

  • application/json


Tags

  • Utils


Get projects

GET /utils/project

Description

Returns list of JIRA projects. You can further filter this list by QMetry features Enabled property.


Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

keyFilter

When fetching a list allows to be filtered by QMetry enabled property. Possible values are QMetryEnabled and ALL. Default value is ALL.

false

string



Responses

HTTP CodeDescriptionSchema

200

Successful operation

No Content

403

Returned if the currently authenticated user does not have permission to access projects.

No Content

500

Returned if there is some problem in fetching project list.

No Content


Produces

  • application/json


Tags

  • Utils


Enable/Disable QMetry Add-on feature for selected projects

POST /config/project/update/{isQMetryEnabled}

Description

Enable/Disable QMetry Add-on feature for selected projects.


Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

isQMetryEnabled

A boolean value that indicates whether QMetry features is enabled or not for given project

true

boolean


BodyParameter

body

An array of project ids.

true

UpdateProjectConfigurationRequest



Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

400

Returned if flag value is invalid.

No Content

403

Returned if the currently authenticated user is not jira admin.

No Content

404

Returned if the given data not found.

No Content

500

Returned if there is some problem in seting the flag value.

No Content


Consumes

  • application/json


Produces

  • application/json


Tags

  • Project


Enable/Disable QMetry Add-on feature for all projects

PUT /config/project/update/{isQMetryEnabled}

Description

Enable/Disable QMetry Add-on feature for all projects in JIRA.


Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

isQMetryEnabled

A boolean value that indicates whether QMetry features is enabled or not for given project

true

boolean



Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

400

Returned if flag value is invalid.

No Content

403

Returned if the currently authenticated user is not jira admin.

No Content

404

Returned if the given data not found.

No Content

500

Returned if there is some problem in seting the flag value.

No Content


Consumes

  • application/json


Produces

  • application/json


Tags

  • Project

UpdateProjectConfigurationRequest

Name

Description

Required

Schema

Default

projectIds

Array of projectIds

true

integer (int64) array