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

Get a project by ID or key

Returns a full representation of a project in JSON format. All project keys associated with the project will only be returned if <code>expand=projectKeys</code>.

GET/api/2/project/{projectIdOrKey}
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
projectIdOrKeystringrequired

Project id or project key

Query parameters
expandstring

Parameters to expand

Responses
200

Project data

archivedboolean
avatarUrlsobject
descriptionstring
idstring
keystring
namestring
selfstring<uri>
404

Returned if the project is not found, or the calling user does not have permission to view it

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/project/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "archived": false,
  "avatarUrls": "http://www.example.com/jira/secure/projectavatar?size=xsmall&pid=10000",
  "description": "Example",
  "id": "10000",
  "key": "EX",
  "name": "Example",
  "self": "http://www.example.com/jira/rest/api/2/project/EX"
}

Was this page helpful?