Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get value of property from project

Returns the value of the property with a given key from the project identified by the key or by the id.

GET/api/2/project/{projectIdOrKey}/properties/{propertyKey}
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
propertyKeystringrequired

The key of the property to return.

projectIdOrKeystringrequired

The project from which the property will be returned.

Responses
200

Returned if the project property was found.

keystring
valuestring
400

Returned if the project key or id is invalid.

401

Returned if the calling user is not authenticated.

403

Returned if the calling user does not have permission to browse the project.

404

Returned if the project with given key or id does not exist or if the property with given key is not found.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/project/string/properties/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "key": "issue.support",
  "value": "{\"hipchat.room.id\":\"support-123\",\"support.time\":\"1m\"}"
}

Was this page helpful?