This resource represents issue type properties, which provides for storing custom data against an issue type. Use it to get, create, and delete issue type properties as well as obtain the keys of all properties on a issues type. Issue type properties are a type of entity property.

Hierarchy

  • CommonHttpService
    • IssueTypePropertiesService

Constructors

  • Internal

    Create a new instance of the service.

    Parameters

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

    Returns IssueTypePropertiesService

Methods

  • Creates or updates the value of the issue type property. Use this resource to store and update data against an issue type.

    The value of the request body must be a valid, non-empty JSON blob. The maximum length is 32768 characters.

    Permissions required: Administer Jira global permission.

    Parameters

    • params: {
          issueTypeId: string;
          propertyKey: string;
          requestBody: unknown;
      }
      • issueTypeId: string

        The ID of the issue type.

      • propertyKey: string

        The key of the issue type property. The maximum length is 255 characters.

      • requestBody: unknown

        The value of the property. The value has to be a valid, non-empty JSON value. The maximum length of the property value is 32768 bytes.

    Returns Promise<{
        body: unknown;
        created: boolean;
    }>

    • status: 200, mediaType: application/json

      Returned if the issue type property is updated.

    • status: 201, mediaType: application/json

      Returned if the issue type property is created.

    PUT /rest/api/3/issuetype/{issueTypeId}/properties/{propertyKey} @scopes-current manage:jira-configuration @scopes-beta write:issue-type.property:jira

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

    Returns void