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

Get an application property by key

Returns an application property.

GET/api/2/application-properties
Authorization
AuthorizationBasic auth · headerrequired

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

Query parameters
permissionLevelstringrequired

when fetching a list specifies the permission level of all items in the list see {@link com.atlassian.jira.bc.admin.ApplicationPropertiesService.EditPermissionLevel}

keyFilterstring

when fetching a list allows the list to be filtered by the property's start of key e.g. "jira.lf.*" whould fetch only those permissions that are editable and whose keys start with * "jira.lf.". This is a regex.

keystringrequired

a String containing the property key.

Responses
200

Returned if the property exists and the currently authenticated user has permission to view it. Contains a full representation of the property.

examplestring
keystring
valuestring
403

The action performed requires a logged in user.

404

Returned if the currently authenticated user does not have permission to view it.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/application-properties?permissionLevel=string&key=string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
[
  {
    "id": "jira.home",
    "key": "jira.home",
    "value": "/var/jira/jira-home",
    "name": "jira.home",
    "desc": "Jira home directory",
    "type": "string",
    "defaultValue": ""
  },
  {
    "id": "jira.clone.prefix",
    "key": "jira.clone.prefix",
    "value": "CLONE -",
    "name": "The prefix added to the Summary field of cloned issues",
    "type": "string",
    "defaultValue": "CLONE -"
  }
]

Was this page helpful?