The details of a UI modification's context, which define where to activate the UI modification.

interface UiModificationContextDetails {
    id?: string;
    isAvailable?: boolean;
    issueTypeId: null | string;
    projectId: null | string;
    viewType:
        | null
        | "IssueTransition"
        | "GIC"
        | "IssueView";
}

Properties

id?: string

The ID of the UI modification context.

isAvailable?: boolean

Whether a context is available. For example, when a project is deleted the context becomes unavailable.

issueTypeId: null | string

The issue type ID of the context. Null is treated as a wildcard, meaning the UI modification will be applied to all issue types. Each UI modification context can have a maximum of one wildcard.

projectId: null | string

The project ID of the context. Null is treated as a wildcard, meaning the UI modification will be applied to all projects. Each UI modification context can have a maximum of one wildcard.

viewType:
    | null
    | "IssueTransition"
    | "GIC"
    | "IssueView"

The view type of the context. Only GIC(Global Issue Create), IssueView and IssueTransition are supported. Null is treated as a wildcard, meaning the UI modification will be applied to all view types. Each UI modification context can have a maximum of one wildcard.