Skip to main content

Ticket Tasks

Create, update, and manage tickets across Jira, GitHub Issues, GitLab Issues, PagerDuty, ZenDuty, and ServiceNow.

tickets.create

Display Name: Create Ticket

Create a new ticket or incident in your ticketing platform.

Parameters

NameTypeRequiredDescription
integration_idintegrationYesTicket integration to use (Jira, GitHub, GitLab, PagerDuty, etc.).
project_keystringYesProject key. Jira: PROJ. GitHub/GitLab: owner/repo. Dynamic options loaded from integration.
titlestringYesTicket title/summary.
descriptionstringYesTicket description/body.
ticket_typestringNoIssue type (e.g., Task, Bug, Incident, Story). Platform-specific. Default: Task.
severitystringNoPriority/severity level. Platform-specific (e.g., High, Medium, Low).
assigneestringNoAssignee identifier (Jira: account ID or email; GitHub: username).
reference_idstringNoExternal reference ID for tracking. Defaults to workflow ID.
additional_fieldsobjectNoPlatform-specific custom fields (e.g., Jira Sprint, Components, custom fields). Dynamic fields loaded from integration.
account_idaccountNoAccount override.

Output

NameTypeDescription
idstringInternal ticket ID.
ticket_idstringExternal ticket ID (e.g., PROJ-123).
urlstringDirect URL to the ticket.
platformstringPlatform name (jira, github, etc.).
statusstringInitial ticket status.
severitystringTicket priority/severity.
reference_idstringReference ID.

tickets.get

Display Name: Get Ticket

Fetch the details of an existing ticket by its ID.

Parameters

NameTypeRequiredDescription
ticket_idstringYesTicket ID to retrieve (e.g., PROJ-123 for Jira, issue number for GitHub).
integration_idintegrationNoTicket integration. Required if the ticket was not created via Nudgebee.
project_keystringNoProject key. Required for GitHub/GitLab (owner/repo format).
account_idaccountNoAccount override.

Output

NameTypeDescription
idstringInternal ticket ID.
ticket_idstringExternal ticket ID.
titlestringTicket title.
descriptionstringTicket description.
statusstringCurrent status.
severitystringPriority/severity.
assigneestringCurrent assignee.
urlstringDirect URL to the ticket.
platformstringPlatform name.
created_atstringCreation timestamp.

tickets.update

Display Name: Update Ticket

Update ticket fields such as status, severity, assignee, description, or labels.

Parameters

NameTypeRequiredDescription
integration_idintegrationYesTicket integration to use.
ticket_idstringYesTicket ID to update.
project_keystringNoProject key (required for GitHub/GitLab).
statusstringNoNew status. Triggers workflow transition for Jira/ServiceNow. GitHub/GitLab: open/closed.
severitystringNoNew priority/severity.
assigneestringNoNew assignee.
descriptionstringNoNew description (replaces existing).
labelsarrayNoLabels/tags to set (replaces existing). Not supported on ServiceNow.
account_idaccountNoAccount override.

Output

NameTypeDescription
ticket_idstringTicket ID.
statusstringUpdate status.
messagestringResult message.

tickets.transition

Display Name: Transition Ticket

Move a ticket to a new status following workflow rules (e.g., Jira workflow transitions).

Parameters

NameTypeRequiredDescription
integration_idintegrationYesTicket integration.
ticket_idstringYesTicket ID to transition.
statusstringYesTarget status (e.g., In Progress, Done for Jira; open/closed for GitHub).
project_keystringNoProject key (required for GitHub/GitLab).
account_idaccountNoAccount override.

Output

NameTypeDescription
ticket_idstringTicket ID.
statusstringNew status after transition.
messagestringResult message.

tickets.assign

Display Name: Assign Ticket

Assign a ticket to a specific person.

Parameters

NameTypeRequiredDescription
integration_idintegrationYesTicket integration.
ticket_idstringYesTicket ID to assign.
assigneestringYesAssignee identifier. Jira: account ID or email. GitHub/GitLab: username. ServiceNow: sys_id or email.
project_keystringNoProject key (required for GitHub/GitLab).
account_idaccountNoAccount override.

Output

NameTypeDescription
ticket_idstringTicket ID.
assigneestringAssigned user.
messagestringResult message.

tickets.add_comment

Display Name: Add Comment

Post a comment on an existing ticket.

Parameters

NameTypeRequiredDescription
integration_idintegrationYesTicket integration.
ticket_idstringYesTicket ID to comment on.
commentstringYesComment text.
project_keystringYesProject key (e.g., PROJ for Jira, owner/repo for GitHub).
account_idaccountNoAccount override.

Output

NameTypeDescription
ticket_idstringTicket ID.
commentstringComment that was added.

tickets.get_comments

Display Name: Get Ticket Comments

Fetch all comments from a ticket.

Parameters

NameTypeRequiredDescription
ticket_idstringYesTicket ID.
integration_idintegrationNoTicket integration (required if not created via Nudgebee).
project_keystringNoProject key (required for GitHub/GitLab).
account_idaccountNoAccount override.

Output

NameTypeDescription
ticket_idstringTicket ID.
commentsarrayList of comments (each with author, comment, created_at, updated_at).
countnumberNumber of comments.

tickets.acknowledge

Display Name: Acknowledge Incident

Acknowledge an incident to stop further escalation. Only supported on PagerDuty and ZenDuty.

Parameters

NameTypeRequiredDescription
integration_idintegrationYesIncident management integration (PagerDuty or ZenDuty).
ticket_idstringYesIncident/ticket ID to acknowledge.
account_idaccountNoAccount override.

Output

NameTypeDescription
ticket_idstringTicket ID.
statusstringNew status (acknowledged).
messagestringResult message.

tickets.escalate

Display Name: Escalate Incident

Escalate an incident to the next responder or escalation policy. Only supported on PagerDuty and ZenDuty.

Parameters

NameTypeRequiredDescription
integration_idintegrationYesIncident management integration (PagerDuty or ZenDuty).
ticket_idstringYesIncident/ticket ID to escalate.
escalation_policystringNoEscalation policy ID (PagerDuty-specific).
account_idaccountNoAccount override.

Output

NameTypeDescription
ticket_idstringTicket ID.
statusstringNew status (escalated).
messagestringResult message.

tickets.resolve

Display Name: Resolve Incident

Mark an incident as resolved. Only supported on PagerDuty and ZenDuty.

Parameters

NameTypeRequiredDescription
integration_idintegrationYesIncident management integration (PagerDuty or ZenDuty).
ticket_idstringYesIncident/ticket ID to resolve.
resolutionstringNoResolution message or notes.
account_idaccountNoAccount override.

Output

NameTypeDescription
ticket_idstringTicket ID.
statusstringNew status (resolved).
messagestringResult message.