This resource represents the screen tabs used to record issue details. Use it to get, create, update, move, and delete screen tabs.

Hierarchy

  • CommonHttpService
    • ScreenTabsService

Constructors

  • Internal

    Create a new instance of the service.

    Parameters

    • getClientInstance: (() => CommonHttpClient)
        • (): CommonHttpClient
        • Returns CommonHttpClient

    Returns ScreenTabsService

Methods

  • Returns the list of tabs for a bulk of screens.

    Permissions required:

    Parameters

    • params: {
          maxResult?: number;
          screenId?: number[];
          startAt?: number;
          tabId?: number[];
      } = {}
      • OptionalmaxResult?: number

        The maximum number of items to return per page. The maximum number is 100,

      • OptionalscreenId?: number[]

        The list of screen IDs. To include multiple screen IDs, provide an ampersand-separated list. For example, screenId=10000&screenId=10001.

      • OptionalstartAt?: number

        The index of the first item to return in a page of results (page offset).

      • OptionaltabId?: number[]

        The list of tab IDs. To include multiple tab IDs, provide an ampersand-separated list. For example, tabId=10000&tabId=10001.

    Returns Promise<unknown>

    Returned if the request is successful.

    example:

    {
    "isLast": true,
    "maxResults": 100,
    "startAt": 0,
    "total": 2,
    "values": [
    {
    "screenId": 10000,
    "tabId": 10001,
    "tabName": "My Custom Tab 1"
    },
    {
    "screenId": 10001,
    "tabId": 10002,
    "tabName": "My Custom Tab 2"
    }
    ]
    }

    GET /rest/api/3/screens/tabs @scopes-current manage:jira-project @scopes-beta read:screen-tab:jira

  • Method to initialize the class. Normally used to set up validation rules.

    Returns void