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

Get Jira configuration details

Returns the information if the optional features in Jira are enabled or disabled. If the time tracking is enabled, it also returns the detailed information about time tracking configuration.

GET/api/2/configuration
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.

Responses
200

Returned the configuration of optional features in Jira.

attachmentsEnabledboolean
issueLinkingEnabledboolean
subTasksEnabledboolean
timeTrackingConfigurationTimeTrackingConfigurationBean
Show properties
defaultUnitstring
Allowed:minutehourdayweek
timeFormatstring
Allowed:prettydayshours
workingDaysPerWeeknumber<double>
workingHoursPerDaynumber<double>
timeTrackingEnabledboolean
unassignedIssuesAllowedboolean
votingEnabledboolean
watchingEnabledboolean
401

Returned if the user is not logged in.

Try it
Server
Authorization
Request
curl -X GET 'http://jira.example.com/rest/api/2/configuration' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "attachmentsEnabled": true,
  "issueLinkingEnabled": true,
  "subTasksEnabled": false,
  "timeTrackingConfiguration": {
    "defaultUnit": "day",
    "timeFormat": "pretty",
    "workingDaysPerWeek": 5,
    "workingHoursPerDay": 8
  },
  "timeTrackingEnabled": true,
  "unassignedIssuesAllowed": false,
  "votingEnabled": true,
  "watchingEnabled": true
}

Was this page helpful?