This resource represents the values of custom fields added by Forge apps. Use it to update the value of a custom field on issues.

Hierarchy

  • CommonHttpService
    • IssueCustomFieldValuesAppsService

Constructors

Methods

  • Updates the value of a custom field on one or more issues.

    Apps can only perform this operation on custom fields and custom field types declared in their own manifests.

    Permissions required: Only the app that owns the custom field or custom field type can update its values with this operation.

    The new write:app-data:jira OAuth scope is 100% optional now, and not using it won't break your app. However, we recommend adding it to your app's scope list because we will eventually make it mandatory.

    Parameters

    • params: {
          customFieldValueUpdateDetails: CustomFieldValueUpdateDetails;
          fieldIdOrKey: string;
          generateChangelog?: boolean;
      }
      • customFieldValueUpdateDetails: CustomFieldValueUpdateDetails
      • fieldIdOrKey: string

        The ID or key of the custom field. For example, customfield_10010.

      • OptionalgenerateChangelog?: boolean

        Whether to generate a changelog for this update.

    Returns Promise<void>

    Returned if the request is successful.

    PUT /rest/api/3/app/field/{fieldIdOrKey}/value @scopes-current @scopes-beta write:app-data:jira

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

    Returns void