Jira.js - Jira Cloud API library
    Preparing search index...

    Interface IssueTypePayload

    The payload for creating an issue type

    interface IssueTypePayload {
        avatarId?: number;
        description?: string;
        hierarchyLevel?: number;
        name?: string;
        onConflict?: string;
        pcri?: Version3Models.ProjectCreateResourceIdentifier;
    }
    Index

    Properties

    avatarId?: number

    The avatar ID of the issue type. Go to https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-avatars/#api-rest-api-3-avatar-type-system-get to choose an avatarId existing in Jira

    description?: string

    The description of the issue type

    hierarchyLevel?: number

    The hierarchy level of the issue type. 0, 1, 2, 3 .. n; Negative values for subtasks

    name?: string

    The name of the issue type

    onConflict?: string

    The conflict strategy to use when the issue type already exists. FAIL - Fail execution, this always needs to be unique; USE - Use the existing entity and ignore new entity parameters