Type Alias ShortcutInteractionTrigger
ShortcutInteractionTrigger:
| { entity_id: string; entity_type: string; type: "assigned" }
| {
comment_id: string;
entity_id: string;
entity_type: string;
parent_comment_id: string;
type: "comment-reply";
}
| {
comment_id?: string;
comment_parent_id?: string
| null;
context: "comment" | "description";
entity_id: string;
entity_type: string;
type: "mentioned";
}
Type Declaration
- { entity_id: string; entity_type: string; type: "assigned" }
- {
comment_id: string;
entity_id: string;
entity_type: string;
parent_comment_id: string;
type: "comment-reply";
} - {
comment_id?: string;
comment_parent_id?: string | null;
context: "comment" | "description";
entity_id: string;
entity_type: string;
type: "mentioned";
}Optionalcomment_id?: string
Optionalcomment_parent_id?: string | null
context: "comment" | "description"
entity_id: string
entity_type: string
type: "mentioned"
For a
commentcontext on a Story: the parent comment's id when the mentioning comment is a reply,nullwhen it is top-level. Alwaysnullfor an Epic comment, even a reply.