GET

Get all boards

Returns all boards. This only includes boards that the user has permission to view.

Request

Query parameters

maxResults

integer

name

string

projectKeyOrId

string

type

StringList

startAt

integer

Responses

Returns the requested boards, at the specified page of the results.

application/json

BoardBean
GET/agile/1.0/board
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/agile/1.0/board' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
POST

Create a new board

Creates a new board. Board name, type and filter Id is required.

  • name - Must be less than 255 characters.
  • type - Valid values: scrum, kanban
  • filterId - Id of a filter that the user has permissions to view. Note, if the user does not have the 'Create shared objects' permission and tries to create a shared board, a private board will be created instead (remember that board sharing depends on the filter sharing). Note:
  • If you want to create a new project with an associated board, use the JIRA platform REST API. For more information, see the Create project method. The projectTypeKey for software boards must be 'software' and the projectTemplateKey must be either com.pyxis.greenhopper.jira:gh-kanban-template or com.pyxis.greenhopper.jira:gh-scrum-template.
  • You can create a filter using the JIRA REST API. For more information, see the Create filter method.
  • If you do not ORDER BY the Rank field for the filter of your board, you will not be able to reorder issues on the board.

Request

Request bodyapplication/json

Bean which contains board name, type and filter Id.

filterId

integer

name

string

type

string

Responses

Returns the created board.

application/json

BoardBean
POST/agile/1.0/board
1 2 3 4 5 curl --request POST \ --url 'http://{baseurl}/rest/agile/1.0/board' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json'
GET

Get a single board

Returns a single board, for a given board Id.

Request

Path parameters

boardId

integer

Required

Responses

Returns the requested board.

application/json

BoardBean
GET/agile/1.0/board/{boardId}
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
DEL

Delete the board

Deletes the board.

Request

Path parameters

boardId

integer

Required

Responses

Returned if the board has been successfully removed.

DEL/agile/1.0/board/{boardId}
1 2 3 curl --request DELETE \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}' \ --user 'email@example.com:<api_token>'
GET

Get all issues from the board's backlog

Returns all issues from a board's backlog, for a given board Id.

Request

Path parameters

boardId

integer

Required

Query parameters

expand

string

jql

string

maxResults

integer

validateQuery

boolean

fields

array<StringList>

startAt

integer

Responses

Returns the requested issues.

application/json

IssueBean
GET/agile/1.0/board/{boardId}/backlog
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/backlog' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
GET

Get the board configuration

Get the board configuration. The response contains the following fields:

  • id - Id of the board.
  • name - Name of the board.
  • filter - Reference to the filter used by the given board.
  • subQuery (Kanban only) - JQL subquery used by the given board.
  • columnConfig - The column configuration lists the columns for the board, in the order defined in the column configuration. For each column, it shows the issue status mapping as well as the constraint type (Valid values: none, issueCount, issueCountExclSubs) for the min/max number of issues. Note, the last column with statuses mapped to it is treated as the "Done" column, which means that issues in that column will be marked as already completed.
  • estimation (Scrum only) - Contains information about type of estimation used for the board. Valid values: none, issueCount, field. If the estimation type is "field", the Id and display name of the field used for estimation is also returned. Note, estimates for an issue can be updated by a PUT /rest/api/2/issue/{issueIdOrKey} request, however the fields must be on the screen. "timeoriginalestimate" field will never be on the screen, so in order to update it "originalEstimate" in "timetracking" field should be updated.
  • ranking - Contains information about custom field used for ranking in the given board.

Request

Path parameters

boardId

integer

Required

Responses

Returns the configuration of the board for given boardId.

application/json

BoardConfigBean
GET/agile/1.0/board/{boardId}/configuration
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/configuration' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
GET

Get all epics from the board

Returns all epics from the board, for the given board Id. This only includes epics that the user has permission to view. Note, if the user does not have permission to view the board, no epics will be returned at all.

Request

Path parameters

boardId

integer

Required

Query parameters

maxResults

integer

done

string

startAt

integer

Responses

Returns the requested epics, at the specified page of the results.

application/json

EpicBean
GET/agile/1.0/board/{boardId}/epic
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/epic' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
GET

Get all issues without an epic

Returns all issues that do not belong to any epic on a board, for a given board Id.

Request

Path parameters

boardId

integer

Required

Query parameters

expand

string

jql

string

maxResults

integer

validateQuery

boolean

fields

array<StringList>

startAt

integer

Responses

Returns the requested issues, at the specified page of the results.

application/json

IssueBean
GET/agile/1.0/board/{boardId}/epic/none/issue
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/epic/none/issue' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
GET

Get all issues for a specific epic

Returns all issues that belong to an epic on the board, for the given epic Id and the board Id.

Request

Path parameters

epicId

integer

Required
boardId

integer

Required

Query parameters

expand

string

jql

string

maxResults

integer

validateQuery

boolean

fields

array<StringList>

startAt

integer

Responses

Returns the requested issues, at the specified page of the results.

application/json

IssueBean
GET/agile/1.0/board/{boardId}/epic/{epicId}/issue
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/epic/{epicId}/issue' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
GET

Get all issues from a board

Returns all issues from a board, for a given board Id. This only includes issues that the user has permission to view. Note, if the user does not have permission to view the board, no issues will be returned at all. Issues returned from this resource include Agile fields, like sprint, closedSprints, flagged, and epic. By default, the returned issues are ordered by rank.

Request

Path parameters

boardId

integer

Required

Query parameters

expand

string

jql

string

maxResults

integer

validateQuery

boolean

fields

array<StringList>

startAt

integer

Responses

Returns the requested issues.

application/json

IssueBean
GET/agile/1.0/board/{boardId}/issue
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/issue' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
GET

Get all projects associated with the board

Returns all projects that are associated with the board, for the given board Id. A project is associated with a board only if the board filter explicitly filters issues by the project and guaranties that all issues will come for one of those projects e.g. board's filter with "project in (PR-1, PR-1) OR reporter = admin" jql Projects are returned only if user can browse all projects that are associated with the board. Note, if the user does not have permission to view the board, no projects will be returned at all. Returned projects are ordered by the name.

Request

Path parameters

boardId

integer

Required

Query parameters

maxResults

integer

startAt

integer

Responses

Returns the board's projects, at the specified page of the results.

application/json

ProjectJsonBean
GET/agile/1.0/board/{boardId}/project
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/project' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
GET

Get all properties keys for a board

Returns the keys of all properties for the board identified by the id. The user who retrieves the property keys is required to have permissions to view the board.

Request

Path parameters

boardId

string

Required

Responses

Returns the requested property keys.

application/json

EntityPropertiesKeysBean
GET/agile/1.0/board/{boardId}/properties
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/properties' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
GET

Get a property from a board

Returns the value of the property with a given key from the board identified by the provided id. The user who retrieves the property is required to have permissions to view the board.

Request

Path parameters

propertyKey

string

Required
boardId

string

Required

Responses

Returns the requested property.

application/json

EntityPropertiesKeysBean
GET/agile/1.0/board/{boardId}/properties/{propertyKey}
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/properties/{propertyKey}' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
PUT

Update a board's property

Sets the value of the specified board's property. You can use this resource to store a custom data against the board identified by the id. The user who stores the data is required to have permissions to modify the board.

Request

Path parameters

propertyKey

string

Required
boardId

string

Required

Responses

Returned if the board property is successfully updated.

application/json

EntityPropertiesKeysBean
PUT/agile/1.0/board/{boardId}/properties/{propertyKey}
1 2 3 4 curl --request PUT \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/properties/{propertyKey}' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
DEL

Delete a property from a board

Removes the property from the board identified by the id. Ths user removing the property is required to have permissions to modify the board.

Request

Path parameters

propertyKey

string

Required
boardId

string

Required

Responses

Returned if the board property was removed successfully.

DEL/agile/1.0/board/{boardId}/properties/{propertyKey}
1 2 3 curl --request DELETE \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/properties/{propertyKey}' \ --user 'email@example.com:<api_token>'
GET

Get the value of the refined velocity setting

Returns the value of the setting for refined velocity chart

Request

Path parameters

boardId

integer

Required

Responses

Returned if the board exists and the property was found.

application/json

BooleanSettingBean
GET/agile/1.0/board/{boardId}/settings/refined-velocity
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/settings/refined-velocity' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
PUT

Update the board's refined velocity setting

Sets the value of the specified board's refined velocity setting.

Request

Path parameters

boardId

integer

Required

Request bodyapplication/json application/x-www-form-urlencoded

The request containing value of the board's property. The value has to a valid, non-empty JSON conforming to http://tools.ietf.org/html/rfc4627. The maximum length of the property value is 32768 bytes.

value

boolean

Responses

Returned if the board property is successfully updated.

PUT/agile/1.0/board/{boardId}/settings/refined-velocity
1 2 3 4 curl --request PUT \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/settings/refined-velocity' \ --user 'email@example.com:<api_token>' \ --header 'Content-Type: application/json'
GET

Get all sprints from a board

Returns all sprints from a board, for a given board Id. This only includes sprints that the user has permission to view.

Request

Path parameters

boardId

integer

Required

Query parameters

maxResults

integer

state

StringList

startAt

integer

Responses

Returns the requested sprints, at the specified page of the results. Sprints will be ordered first by state (i.e. closed, active, future) then by their position in the backlog.

application/json

SprintBean
GET/agile/1.0/board/{boardId}/sprint
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/sprint' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
GET

Get all issues for a sprint

Get all issues you have access to that belong to the sprint from the board. Issue returned from this resource contains additional fields like: sprint, closedSprints, flagged and epic. Issues are returned ordered by rank. JQL order has higher priority than default rank.

Request

Path parameters

sprintId

integer

Required
boardId

integer

Required

Query parameters

expand

string

jql

string

maxResults

integer

validateQuery

boolean

fields

array<StringList>

startAt

integer

Responses

Returns the requested issues, at the specified page of the results.

application/json

SprintBean
GET/agile/1.0/board/{boardId}/sprint/{sprintId}/issue
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/sprint/{sprintId}/issue' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
GET

Get all versions from a board

Returns all versions from a board, for a given board Id. This only includes versions that the user has permission to view. Note, if the user does not have permission to view the board, no versions will be returned at all. Returned versions are ordered by the name of the project from which they belong and then by sequence defined by user.

Request

Path parameters

boardId

integer

Required

Query parameters

maxResults

integer

released

string

startAt

integer

Responses

Returns the requested versions, at the specified page of the results.

application/json

VersionBean
GET/agile/1.0/board/{boardId}/version
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/version' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'

Rate this page: