The Jira Cloud Platform REST API Client.

Hierarchy (view full)

Constructor

Impersonalization

Services

announcementBanner appDataPolicies applicationRoles appMigration appProperties auditRecords avatars classificationLevels dashboards dynamicModules filters filterSharing groupAndUserPicker groups issueAttachments issueBulkOperations issueCommentProperties issueComments issueCustomFieldConfigurationApps issueCustomFieldContexts issueCustomFieldOptions issueCustomFieldOptionsApps issueCustomFieldValuesApps issueFieldConfigurations issueFields issueLinks issueLinkTypes issueNavigatorSettings issueNotificationSchemes issuePriorities issueProperties issueRemoteLinks issueResolutions issues issueSearch issueSecurityLevel issueSecuritySchemes issueTypeProperties issueTypes issueTypeSchemes issueTypeScreenSchemes issueVotes issueWatchers issueWorklogProperties issueWorklogs jiraExpressions jiraSettings jql jqlFunctionsApps labels licenseMetrics myself permissions permissionSchemes plans prioritySchemes projectAvatars projectCategories projectClassificationLevels projectComponents projectEmail projectFeatures projectKeyAndNameValidation projectPermissionSchemes projectProperties projectRoleActors projectRoles projects projectTypes projectVersions screens screenSchemes screenTabFields screenTabs serverInfo serviceRegistry status tasks teamsInPlan timeTracking uiModificationsApps userProperties users userSearch webhooks workflows workflowSchemeDrafts workflowSchemeProjectAssociations workflowSchemes workflowStatusCategories workflowStatuses workflowTransitionProperties workflowTransitionRules

Constructor

Impersonalization

asApp: (() => JiraPlatformApi) = ...

Switches the API client to the app context.

asUser: ((userAccountId?: string) => JiraPlatformApi) = ...

Switches the API client to the user context.

Services

  • get issueNotificationSchemes(): IssueNotificationSchemesService
  • This resource represents notification schemes, lists of events and the recipients who will receive notifications for those events. Use it to get details of a notification scheme and a list of notification schemes.

    A notification scheme is a list of events and recipients who will receive notifications for those events. The list is contained within the notificationSchemeEvents object and contains pairs of events and notifications:

    • event Identifies the type of event. The events can be Jira system events (see the Events section) or custom events.

    • notifications Identifies the recipients of notifications for each event. Recipients can be any of the following types:

      • CurrentAssignee
      • Reporter
      • CurrentUser
      • ProjectLead
      • ComponentLead
      • User (the parameter is the user key)
      • Group (the parameter is the group name)
      • ProjectRole (the parameter is the project role ID)
      • EmailAddress (deprecated)
      • AllWatchers
      • UserCustomField (the parameter is the ID of the custom field)
      • GroupCustomField(the parameter is the ID of the custom field)

    Returns IssueNotificationSchemesService

  • get issues(): IssuesService
  • This resource represents Jira issues. Use it to:

    • create or edit issues, individually or in bulk.
    • retrieve metadata about the options for creating or editing issues.
    • delete an issue.
    • assign a user to an issue.
    • get issue changelogs.
    • send notifications about an issue.
    • get details of the transitions available for an issue.
    • transition an issue.
    • Archive issues.
    • Unarchive issues.
    • Export archived issues.

    Returns IssuesService

  • get jql(): JqlService
  • This resource represents JQL search auto-complete details. Use it to obtain JQL search auto-complete data and suggestions for use in programmatic construction of queries or custom query builders. It also provides operations to:

    • convert one or more JQL queries with user identifiers (username or user key) to equivalent JQL queries with account IDs.
    • convert readable details in one or more JQL queries to IDs where a user doesn't have permission to view the entity whose details are readable.

    Returns JqlService

  • get workflowSchemes(): WorkflowSchemesService
  • This resource represents workflow schemes. Use it to manage workflow schemes and the workflow scheme's workflows and issue types.

    A workflow scheme maps issue types to workflows. A workflow scheme can be associated with one or more projects, which enables the projects to use the workflow-issue type mappings.

    Active workflow schemes (workflow schemes that are used by projects) cannot be edited. When an active workflow scheme is edited, a draft copy of the scheme is created. The draft workflow scheme is then be edited and published (replacing the active scheme).

    See Configuring workflow schemes for more information.

    Returns WorkflowSchemesService