Connection and authentication options
ReadonlymetricsLightweight issue/user/project metrics derived from Jira Data Center REST and JQL.
Returns a BoardResource for a given board ID.
The returned resource can be awaited directly to fetch board info, or chained to access nested resources (sprints, issues, backlog).
The numeric board ID
A chainable board resource
Fetches all boards accessible to the authenticated user.
GET /rest/agile/latest/board
Optionalparams: BoardsParamsOptional: startAt, maxResults, type, name, projectKeyOrId
A paged response of boards
Fetches a single component by ID.
GET /rest/api/latest/component/{id}
The component ID
The component object
Fetches the currently authenticated user.
GET /rest/api/latest/myself
The authenticated user object
Fetches the authenticated user's favourite filters.
GET /rest/api/latest/filter/favourite
An array of filters
Fetches all issue fields (system and custom).
GET /rest/api/latest/field
An array of fields
Fetches a single filter by ID.
GET /rest/api/latest/filter/{id}
The numeric filter ID
The filter object
Returns an IssueResource for a given issue key or ID, providing access to issue data and sub-resources (comments, changelog, transitions, etc.).
The returned resource can be awaited directly to fetch the issue, or chained to access nested resources.
The issue key (e.g., 'PROJ-42') or numeric ID
A chainable issue resource
Fetches all issue link types.
GET /rest/api/latest/issueLinkType
An object with the list of issue link types
Fetches a single issue type by ID.
GET /rest/api/latest/issuetype/{id}
The issue type ID
The issue type object
Fetches all issue types available to the authenticated user.
GET /rest/api/latest/issuetype
An array of issue types
Subscribes to a client event.
Fetches all priorities.
GET /rest/api/latest/priority
An array of priorities
Fetches a single priority by ID.
GET /rest/api/latest/priority/{id}
The priority ID
The priority object
Returns a ProjectResource for a given project key or ID.
The returned resource can be awaited directly to fetch project info, or chained to access nested resources.
The project key (e.g., 'PROJ') or numeric ID
A chainable project resource
Fetches all projects accessible to the authenticated user.
GET /rest/api/latest/project
Optionalparams: ProjectsParamsOptional: expand, recent
An array of projects
Searches for issues using JQL.
GET /rest/api/latest/search
Optionalparams: SearchParamsOptional: jql, startAt, maxResults, fields, expand, validateQuery
A search response containing matching issues
Fetches issues using a POST search, which supports larger JQL queries
and additional options such as specifying the fields list as an array.
POST /rest/api/latest/search
Search request body
A search response containing matching issues
Fetches a single status by ID or name.
GET /rest/api/latest/status/{idOrName}
The status ID or name
The status object
Fetches a single user by username or key.
GET /rest/api/latest/user
The username (login name) to look up
The user object
Searches for issues updated by one or more users.
This uses Jira's updatedBy() JQL function, which is useful for deriving
activity from Bitbucket slugs when they match Jira usernames.
POST /rest/api/latest/search
A Jira username, user key, or Bitbucket slug that maps to one
Optional date bounds, extra JQL filters, pagination, and fields
A search response containing issues touched by the user(s)
Searches for users.
GET /rest/api/latest/user/search
Optionalparams: UserSearchParamsOptional: username, startAt, maxResults
An array of users
Fetches a single version by ID.
GET /rest/api/latest/version/{id}
The version ID
The version object
Fetches the related issue counts for a version.
GET /rest/api/latest/version/{id}/relatedIssueCounts
The version ID
Issue counts by type
Fetches the number of unresolved issues for a version.
GET /rest/api/latest/version/{id}/unresolvedIssueCount
The version ID
The unresolved issue count
Fetches worklog IDs deleted after a cursor.
GET /rest/api/latest/worklog/deleted
Optionalparams: WorklogSinceParamsFetches worklogs by ID.
POST /rest/api/latest/worklog/list
Fetches worklog IDs updated after a cursor.
GET /rest/api/latest/worklog/updated
Use with worklogsList to hydrate changed worklogs for activity metrics.
Optionalparams: WorklogSinceParams
Main entry point for the Jira Data Center REST API client.
Example