# Read Jira global settings and server info with REST

URL: https://goingstellar.ro/reference/atlassian-rest-api/jira-configuration/

A few read-only endpoints describe the instance itself. /rest/api/3/configuration lists the global feature switches and the working-time settings, /configuration/timetracking names the time tracking provider, /attachment/meta gives the upload limit and /serverInfo gives the version and the server clock.

## Endpoints

| Method | Path | What it does |
|---|---|---|
| GET | `/rest/api/3/configuration` | Returns global settings. |
| GET | `/rest/api/3/configuration/timetracking` | Returns the selected time tracking provider. |
| GET | `/rest/api/3/attachment/meta` | Returns attachment settings. |
| GET | `/rest/api/3/serverInfo` | Returns version and server time. |

## Examples

### GET /rest/api/3/configuration

Reads the global switches and the working-time settings.

```bash
curl \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  'https://your-domain.atlassian.net/rest/api/3/configuration'
```

```python
import os
import requests

EMAIL = "you@example.com"
r = requests.get(
    'https://your-domain.atlassian.net/rest/api/3/configuration',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
)
print(r.status_code, r.text)
```

Response: HTTP 200

```
{
 "votingEnabled": true,
 "watchingEnabled": true,
 "unassignedIssuesAllowed": true,
 "subTasksEnabled": true,
 "issueLinkingEnabled": true,
 "timeTrackingEnabled": true,
 "attachmentsEnabled": true,
 "timeTrackingConfiguration": {
  "workingHoursPerDay": 8.0,
  "workingDaysPerWeek": 5.0,
  "timeFormat": "pretty",
  "defaultUnit": "minute"
 }
}
```

Response headers:

```
X-Ratelimit-Limit: 350
```

Sent to Atlassian Cloud on 29 Nov 2026.

### GET /rest/api/3/configuration/timetracking

Reads which time tracking provider is selected.

```bash
curl \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  'https://your-domain.atlassian.net/rest/api/3/configuration/timetracking'
```

```python
import os
import requests

EMAIL = "you@example.com"
r = requests.get(
    'https://your-domain.atlassian.net/rest/api/3/configuration/timetracking',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
)
print(r.status_code, r.text)
```

Response: HTTP 200

```
{
 "key": "JIRA",
 "name": "JIRA provided time tracking"
}
```

Sent to Atlassian Cloud on 29 Nov 2026.

### GET /rest/api/3/attachment/meta

Reads the attachment switch and the upload limit in bytes.

```bash
curl \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  'https://your-domain.atlassian.net/rest/api/3/attachment/meta'
```

```python
import os
import requests

EMAIL = "you@example.com"
r = requests.get(
    'https://your-domain.atlassian.net/rest/api/3/attachment/meta',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
)
print(r.status_code, r.text)
```

Response: HTTP 200

```
{
 "enabled": true,
 "uploadLimit": 1073741824
}
```

Sent to Atlassian Cloud on 29 Nov 2026.

### GET /rest/api/3/serverInfo

Reads the deployment type, version, build and the server clock.

```bash
curl \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  'https://your-domain.atlassian.net/rest/api/3/serverInfo'
```

```python
import os
import requests

EMAIL = "you@example.com"
r = requests.get(
    'https://your-domain.atlassian.net/rest/api/3/serverInfo',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
)
print(r.status_code, r.text)
```

Response: HTTP 200

```
{
 "version": "1001.0.0-SNAPSHOT",
 "deploymentType": "Cloud",
 "buildNumber": 100297,
 "buildDate": "2026-11-26T11:22:26.000+0200",
 "serverTime": "2026-11-29T19:29:22.872+0200",
 "serverTitle": "Jira",
 "defaultLocale": {
  "locale": "en_US"
 },
 "serverTimeZone": "Etc/UTC"
}
```

Sent to Atlassian Cloud on 29 Nov 2026.

## How it behaves

- /configuration returned booleans for voting, watching, unassigned items, sub-tasks, linking, time tracking and attachments, plus timeTrackingConfiguration with workingHoursPerDay 8.0, workingDaysPerWeek 5.0, timeFormat pretty and defaultUnit minute.
- /configuration/timetracking answered {"key": "JIRA", "name": "JIRA provided time tracking"}.
- /attachment/meta answered enabled true and uploadLimit 1073741824.
- /serverInfo reported deploymentType Cloud, a build number and a version string, and gave serverTime with a +0200 offset next to serverTimeZone Etc/UTC.

## Pitfalls

- Read workingHoursPerDay and workingDaysPerWeek before you turn logged seconds into days. They were 8.0 and 5.0 on this instance.
- Do not use serverTime to work out the user's local time. The offset and serverTimeZone in the response do not agree, so use the user's timeZone from /myself.
- Treat the version string as informational. The value 1001.0.0-SNAPSHOT came back on this instance, which is not a release number you can compare against.

## Questions and answers

### How many hours is a day in Jira worklogs?

workingHoursPerDay in /configuration. On this instance it was 8.0 with 5.0 working days per week.

## Related

- [Worklogs](https://goingstellar.ro/reference/atlassian-rest-api/worklogs/)
- [Attachments](https://goingstellar.ro/reference/atlassian-rest-api/jira-attachments/)
- [The current user](https://goingstellar.ro/reference/atlassian-rest-api/myself-current-user/)
- [Fields, work types, priorities, statuses](https://goingstellar.ro/reference/atlassian-rest-api/fields-issuetypes-priorities/)

## Sources

- [The Jira Cloud platform REST API v3 (Atlassian Developer)](https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/)
- [Get global settings (Jira REST API v3)](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jira-settings/#api-rest-api-3-configuration-get)

