...
Info | ||||
---|---|---|---|---|
| ||||
e.g. get the first 20 metadata for project JM (as project-admin): https://jira.atlassian.internal/rest/metadata/1.0/project/JM?includeHidden=true&startAt=0&maxResults=20 |
/
...
admin/cleanupProjectAuditLog
GET
get metadata values for a given object (e.g. version/component) as object array (not unlimited since 4.2)internal: removes defect project metadata entries from audit log
Expand | |||||
---|---|---|---|---|---|
| |||||
RequestParameters | |||||
Name | Located in | Required | Description | Default | Schema | projectkey | path | yes | the project key | >string | identifier | path | yes | the version/component identifier | >string | includeHidden | query | no | will include the hidden metadata values, if the user has the permission to edit (create/update) metadata values | >boolean | startAt | query | no | the index of the first metadata value to return (0-based) | >integer (int32) | maxResults | query | no | the maximum number of metadata values to return (defaults to 100 (if startAt >= 1)). The maximum allowable value is dictated to 500. If you specify a value that is higher than this number, your search results will be truncated. | >integer (int32) |
Status Code | Reason | Response Model |
------------- | ------------- | ---------------- |
200 | Request was processed and there are more details within the server log | |
403 | User has no Admin permission |
/admin/disableMetadataEventSubSystem
GET
experimental: should only be used in exceptional cases. Disables the metadata event sub system (auditlog, indexing)
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
RequestParametersResponse**Content-Type: ** application/json
successful operation Array[ JiraMetadata ] |
PUT
...
|
/admin/enableMetadataEventSubSystem
GET
experimental: should only be used in exceptional cases. Enables the metadata event sub system (auditlog, indexing)
Expand | |||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||
RequestParametersResponse**Content-Type: ** application/json Parameters
Status Code Reason Response Model
Located in Required Description Default Schema projectkey path yes the project key >string identifier path yes the version/component identifier >string JiraMetadata body yes the to change metadata object array Array[ JiraMetadata ] Response**Content-Type: ** application/json
------------- ---------------- 200 successful operation Array[ JiraMetadata ] | the specified version/component can't be loaded400
Invalid license |
/component/{
...
projectKey}/{identifier
...
}
GET
get the specified metadatametadata values for a given object (e.g. version/component) as object array (not unlimited since 4.2)
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
RequestParameters
>string Response**Content-Type: ** application/json Status Code Reason Response Model ------------- | --------------
Response**Content-Type: ** application/json
|
PUT
create / update one metadata as object array
Expand | |||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
>string key path | the user-defined key of the metadatayes
Response**Content-Type: ** application/json
| something went wrong while saving the 500
|
DELETE
...
/component/{projectKey}/{identifier}/{key}
GET
get the specified metadata
Expand | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||
RequestParameters
Response**Content-Type: ** textapplication/plainjson
400 the specified version/component can't be loaded 403 User has no permission to create / update metadata 404 there is no metadata object with the given key 503 Invalid license |
/component/{projectkey}/{identifier}/{key}/value
GET
get the specified metadata value
|
PUT
create / update one metadata
Expand | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
Response**Content-Type: ** textapplication/plainjson
|
/configuration/project/{projectKey}
GET
...
|
DELETE
delete the specified metadata
Expand | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||
RequestParameters
Response**Content-Type: ** application/json
Response**Content-Type: ** application/json
200 successful operation |
...
|
/component/{projectKey}/
...
{identifier}/{
...
key}/value
GET
experimental: applies the project screen to get the specified projectmetadata value
Expand | |||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||
RequestParameters
Response**Content-Type: ** applicationtext/jsonplain
403 | User has no Project Admin permission |
/configuration/
...
field/
...
project
...
PUT
experimental: get the default customer screenthe given (valid) project field will be updated
Expand | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
Request**Content-Type: ** application/json ParametersResponse
| -Response Model
Response**Content-Type: ** application/json
|
PUT
...
|
/configuration/field/project/all
GET
experimental: get all project fields
Expand | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||
RequestParametersNameResponseLocated in
Status Code Reason Response Model
Description Default Schema MetadataScreen body yes the to change metadata screen Response
200 successful operation | the given json is invalid400
|
/configuration/
...
field/project/allEnriched
...
GET
experimental: the given (valid) project screen will be updatedget all project fields with related screens (used within admin interface)
Expand | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||
Request**Content-Type: ** application/json ParametersNameResponseLocated in
Status Code Reason Response Model
Description Default Schema MetadataScreen body yes the to change metadata screen Response**Content-Type: ** application/json
200 | Messagesuccessful operation 400 the given json is invalid
|
/configuration/
...
field/project/
...
{identifier}
...
DELETE
experimental: get all project screensthe specified project field will be deleted
Expand | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||
RequestParameters
| ----Response Model
Response
|
/configuration
...
/project/
...
{projectKey}
GET
experimental: get the default project screenreturns the project configuration for the specified project
Expand | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
RequestParameters
Response**Content-Type: ** application/json
403 User has no application use permission |
...
|
/configuration/project/{projectKey}/screen/{screenKey}
GET
experimental: applies the specified project screen becomes to the default specified project screen
Expand | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||
RequestParameters
| bodyMetadataScreen
Response**Content-Type: ** application/json
the given json is invalid
|
/configuration/screen/
...
customer/
...
default
...
GET
experimental: get the specified project screen will be deleteddefault customer screen
Expand | |||||
---|---|---|---|---|---|
| |||||
RequestParameters | |||||
Name | Located in | Required | Description | Default | Schema | identifier | path | yes | the screen identifier | >string |
Status Code | Reason | Response Model |
------------- | ------------- | ---------------- |
200
successful operation
403 | User has no |
application use permission |
500
Error when deleting
/configuration/screen/user/default
GET
...
PUT
experimental: the specified user screen becomes the default customer screen
Expand | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||
RequestParameters
Response
| User has no application use permission403
|
/configuration/screen/project
PUT
experimental: the specified user screen becomes the default user screengiven (valid) project screen will be updated
Expand | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
Response**Content-Type: ** application/json
|
/configuration/screen/
...
project/
...
all
GET
get metadata values for a given object (e.g. project/group/user) as object array (not unlimited since 4.2)
...
experimental: get all project screens
Expand | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||
RequestParameters
identifier path yes the project/group/user identifier | includeHidden>string
>boolean startAt query no the index of the first metadata value to return (0-based) >integer (int32) maxResults query no the maximum number of metadata values to return (defaults to 100 (if startAt >= 1)). The maximum allowable value is dictated to 500. If you specify a value that is higher than this number, your search results will be truncated. >integer (int32) Response**Content-Type: ** application/json Status Code Reason Response Model
Response
200 successful operation Array[ JiraMetadata ] |
PUT
create / update metadata as object array
|
/configuration/screen/project/default
GET
experimental: get the default project screen
Expand | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/jsonParameters
the project/group/user identifier >string JiraMetadata body yes the to change metadata object array Array[ JiraMetadata ] Response**Content-Type: ** application/json Status Code Reason Response Model
Response
200 | Array[ JiraMetadata ]successful operation
503 Invalid license |
/group/{identifier}/{key}
GET
...
PUT
experimental: the specified project screen becomes the default project screen
Expand | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||
RequestParameters
>string key path yes the user-defined key of the metadata >string Response**Content-Type: ** application/json Status
Response
|
PUT
...
|
/configuration/screen/project/{identifier}
DELETE
experimental: the specified project screen will be deleted
Expand | |||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
key path yes the user-defined key of the metadata >string JiraMetadata body yes the to change metadata Response**Content-Type: ** application/json Response
400 the given key doesn't match to the key of the JiraMetadata object or something went wrong while loading the saved metadata
something went wrong while saving the metadata 503 Invalid license |
DELETE
...
|
/configuration/screen/user/default
GET
experimental: get the default user screen
Expand | |||||
---|---|---|---|---|---|
| |||||
RequestParameters | |||||
Name | Located in | Required | Description | Default | Schema | identifier | path | yes | the project/group/user identifier | >string | keypath | yes | the user-defined key of the metadata | >string |
Status Code | Reason | Response Model |
------------- | ------------- | ---------------- |
403 | User has no application use permission |
404
there is no metadata object with the given key
503
Invalid license
/group/{identifier}/{key}/value
GET
...
PUT
experimental: the specified user screen becomes the default user screen
Expand | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
RequestParameters
>string key path yes the user-defined key of the metadata >string Response**Content-Type: ** text/plain
Response
|
...
|
/group/{identifier}
GET
get metadata values for a given object (e.g. project/group/user) as object array (not unlimited since 4.2)
Expand | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||
RequestParameters
Response**Content-Type: ** application/json
|
PUT
create / update metadata as object array
Expand | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
Response**Content-Type: ** application/json
|
/group/{identifier}/{key}
GET
get the specified metadata
Expand | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
RequestParameters
Response**Content-Type: ** application/json
|
PUT
create / update one metadata
Expand | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
Response**Content-Type: ** application/json
|
DELETE
delete the specified metadata
Expand | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||
RequestParameters
Response**Content-Type: ** application/json
|
/group/{identifier}/{key}/value
GET
get the specified metadata value
Expand | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
RequestParameters
Response**Content-Type: ** text/plain
|
/project/{identifier}
GET
get metadata values for a given object (e.g. project/group/user) as object array (not unlimited since 4.2)
Expand | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||
RequestParameters
Response**Content-Type: ** application/json
|
PUT
create / update metadata as object array
Expand | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
Response**Content-Type: ** application/json
|
/project/{identifier}/{key}
GET
get the specified metadata
Expand | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
RequestParameters
Response**Content-Type: ** application/json
|
PUT
create / update one metadata
Expand | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
Response**Content-Type: ** application/json
|
DELETE
delete the specified metadata
Expand | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||
RequestParameters
Response**Content-Type: ** application/json
|
/project/{identifier}/{key}/value
GET
get the specified metadata value
Expand | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
RequestParameters
Response**Content-Type: ** text/plain
|
/projects/filter
PUT
experimental: the given (valid) project screen will be updated
Expand | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
Response**Content-Type: ** application/json
|
/projects/filter/all
GET
experimental: get all filter for the current user
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
RequestParametersResponse
200 successful operation Array[ JiraMetadata ] |
PUT
...
|
/projects/filter/{identifier}
DELETE
experimental: the specified project screen will be deleted
Expand | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
>string JiraMetadata body yes the to change metadata object array Array[ JiraMetadata ] Response**Content-Type: ** application/json
Response
Array[ JiraMetadata ] 403 User has no permission to create / update metadata 503 Invalid license |
/project/{identifier}/{key}
GET
...
|
/projects/fullReindex
GET
experimental: starts the reindex for all projects
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Name | Located in | Required | Description | Default | Schema | identifier | path | yes | the project/group/user identifier | >string | key | path | yes | the user-defined key of the metadata | >string
RequestParametersResponse**Content-Type: ** application/json
successful operation |
PUT
...
|
/projects/index/{identifier}
GET
experimental: reindex the specified project
Expand | |||||
---|---|---|---|---|---|
| |||||
Request**Content-Type: ** application/json Parameters | |||||
Name | Located in | Required | Description | Default | Schema | identifier | path | yes | the project/group/user identifier | >string | key | path | yes | the user-defined key of the metadata | >string | JiraMetadata | body | yes | the to change metadata | JiraMetadata
Name | Located in | Required | Description | Default | Schema |
---|---|---|---|---|---|
identifier | path | yes | >string |
Response
**Content-Type: ** application/json
Status Code | Reason | Response Model |
------------- | ------------- | ---------------- |
200 |
successful operation
the specified project has been indexed. | |
400 | the |
project can't be indexed | |
403 | User has no |
500
something went wrong while saving the metadata
503
Invalid license
DELETE
...
|
/projects/search
POST
experimental: search for projects with the specified metadata
Expand | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
>string key path yes the user-defined key of the metadata >string
Response**Content-Type: ** textapplication/plainjson
403 User has no permission to create / update metadata 404 there is no metadata object with the given key 503 Invalid license |
/project/{identifier}/{key}/value
GET
...
|
/servicedesk/customer/profile/{identifier}
GET
experimental: returns the customer screen (with it's metadata values for the specfied user
Expand | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||
RequestParameters
>string key path | the user-defined key of the metadatayes
Response**Content-Type: ** text/plain
| successful operation200
|
/servicedesk/customer/profile/{identifier}/{key}
...
PUT
experimental: returns the customer screen (with it's metadata values for the specfied usercreate / update the specified metadata as non hidden metadata
Expand | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
Response**Content-Type: ** application/json
500 the user defined by identifier is not the current user |
...
|
/servicedesk/{projectKey}/agent/customer/profile/{identifier
...
}
...
GET
experimental: create / update the specified metadata as non hidden metadatareturns the customer screen (with it's metadata values for the specfied user
Expand | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
>string key path | the user-defined key of the metadatayes
Response**Content-Type: ** application/json
Response
200 successful operation 400 the given key doesn't match to the key of the JiraMetadata object or something went wrong while loading the saved metadata 403 User (found by the user identifier) is not the calling user or the metadata is not part of the customer screen 500 something went wrong while saving the metadata | Invalid license503
|
/servicedesk/{projectKey}/agent/customer/profile/{identifier}/{key}
...
PUT
experimental: returns the customer screen (with it's metadata values for the specfied usercreate / update the specified metadata as non hidden metadata
Expand | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
>string
Response**Content-Type: ** application/json
500 current user is not an agent for the specified project or the project can't be found |
/servicedesk/{projectKey}/agent/customer/profile/{identifier}/{key}
PUT
...
|
/user/{identifier}
GET
get metadata values for a given object (e.g. project/group/user) as object array (not unlimited since 4.2)
Expand | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
Default Schema projectKey path yes the service desk project key >string identifier path yes the user identifier >string key path yes the user-defined key of the metadata >string JiraMetadata body yes | JiraMetadatathe to change metadata
Response**Content-Type: ** application/json
400 the given key doesn't match to the key of the JiraMetadata object or something went wrong while loading the saved metadata 403 The calling user is not in the Agent role or the metadata is not part of the customer screen 500 something went wrong while saving the metadata 503 Invalid license |
/user/{identifier}
GET
...
|
PUT
create / update metadata as object array
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
Description Default Schema identifier path yes the project/group/user identifier >string includeHidden query no will include the hidden metadata values, if the user has the permission to edit (create/update) metadata values >boolean startAt query no the index of the first metadata value to return (0-based) >integer (int32) maxResults query no | >integer (int32)the maximum number of metadata values to return (defaults to 100 (if startAt >= 1)). The maximum allowable value is dictated to 500. If you specify a value that is higher than this number, your search results will be truncated.
Response**Content-Type: ** application/json
|
...
|
...
|
/user/{identifier}/{key}
GET
get the specified metadata
Expand | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
| Array[ JiraMetadata ]the to change metadata object array
Response**Content-Type: ** application/json
200 successful operation Array[ JiraMetadata ] 403 User has no permission to create / update metadata 503 Invalid license |
/user/{identifier}/{key}
GET
...
|
PUT
create / update one metadata
Expand | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
Response**Content-Type: ** application/json
200 successful operation |
PUT
...
|
DELETE
delete the specified metadata
Expand | |||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
JiraMetadata body yes | JiraMetadatathe to change metadata Response**Content-Type: ** application/json
200 successful operation | the given key doesn't match to the key of the JiraMetadata object or something went wrong while loading the saved metadatasomething went wrong while saving the metadata400
500
|
DELETE
...
/user/{identifier}/{key}/value
GET
get the specified metadata value
Expand | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||
RequestParameters
Response**Content-Type: ** text/plain
403 User has no permission to create / update metadata 404 there is no metadata object with the given key 503 Invalid license |
/user/{identifier}/{key}/value
GET
...
|
/version/{projectKey}/{identifier}
GET
get metadata values for a given object (e.g. version/component) as object array (not unlimited since 4.2)
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||
RequestParameters
yes the user-defined key of the metadata
Response**Content-Type: ** textapplication/plainjson
|
/version/{projectkey}/{identifier}
GET
...
|
PUT
create / update metadata as object array
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
includeHidden query no will include the hidden metadata values, if the user has the permission to edit (create/update) metadata values >boolean startAt query no the index of the first metadata value to return (0-based) >integer (int32) maxResults query no | >integer (int32)the maximum number of metadata values to return (defaults to 100 (if startAt >= 1)). The maximum allowable value is dictated to 500. If you specify a value that is higher than this number, your search results will be truncated.
Response**Content-Type: ** application/json
|
PUT
...
|
/version/{projectKey}/{identifier}/{key}
GET
get the specified metadata
Expand | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/jsonParameters
| Array[ JiraMetadata ]the to change metadata object array
Response**Content-Type: ** application/json
400 the specified version/component can't be loaded | User has no permission to 403 |
PUT
create / update one metadata
Expand | Invalid license |
---|
/version/{projectkey}/{identifier}/{key}
GET
get the specified metadata
Expand | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Details | Details | Request
| ||||||||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
Response**Content-Type: ** application/json
---------------- 200 successful operation |
PUT
...
|
DELETE
delete the specified metadata
Expand | |||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
Request**Content-Type: ** application/json Parameters
JiraMetadata body | the to change metadatayes Response**Content-Type: ** application/json
200 successful operation | the given key doesn't match to the key of the JiraMetadata object, 400
500
|
DELETE
...
/version/{projectKey}/{identifier}/{key}/value
GET
get the specified metadata value
Expand | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||
RequestParameters
Response**Content-Type: ** text/plain
|
Json-
...
400
...
the specified version/component can't be loaded
...
403
...
User has no permission to create / update metadata
...
404
...
there is no metadata object with the given key
...
503
...
Invalid license
/version/{projectkey}/{identifier}/{key}/value
GET
get the specified metadata value
...
Request
Parameters
...
Name
...
Located in
...
Required
...
Description
...
Default
...
Schema
...
projectkey
...
path
...
yes
...
the project key
...
>string
...
identifier
...
path
...
yes
...
the version/component identifier
...
>string
...
key
...
path
...
yes
...
the user-defined key of the metadata
...
>string
Response
**Content-Type: ** text/plain
...
Status Code
...
Reason
...
Response Model
...
-------------
...
-------------
...
----------------
...
200
...
successful operation
Json-Objects
...
Objects
JiraMetadata
name | type | required | description | example |
---|---|---|---|---|
key | string | required | the userdefined key of the metadata | |
group | string | optional | ||
value | string | optional | ||
hidden | boolean | optional |
Message
name | type | required | description | example |
---|---|---|---|---|
message | string | optional |
Project
name | type | required | description | example |
---|---|---|---|---|
project | object | optional | ||
metadata | object | optional |
ProjectConfiguration
name | type | required | description | example |
---|---|---|---|---|
editPermission | boolean | optional | ||
selectionItems | array[ #/definitions/SelectionItem ] | optional | ||
screen | string | optional |
SearchParams
name | type | required | description | example |
---|
key
string
required
the userdefined key of the metadata
group
string
optional
value
start | integer (int32) | optional | ||
limit | integer (int32) | optional | the userdefined limit (must be lower than 50 and higher than 25) | |
returnAllFields | boolean | optional | ||
projectSearchValues | arraystring | optional |
searchValues |
object | optional |
...
SearchResult
name | type | required | description | example |
---|
message
name
type
required
description
example
editPermission
searchParams | optional |
ProjectConfiguration
moreResultsAvailable | boolean | optional |
results | array[ #/definitions/ |
Project ] | optional |
screen
string
optional
SelectionItem
name | type | required | description | example |
---|---|---|---|---|
label | string | optional | ||
value | string | optional | ||
projectKey | string | optional | ||
items | array[ |
optional |