Jitbit MCP by usefulapi
v1.2.1Read tickets and knowledge base; create tickets, add replies and close them in Jitbit.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
jitbit_list_tickets List tickets
List tickets the user can see, newest first. Filter by mode (all, unanswered, unclosed, handledbyme), status, category, creator, company, assignee, tag and dates. Returns summaries, not bodies: use jitbit_get_ticket for one ticket. Jitbit API: GET /api/Tickets.
| Parameter | Type | Description |
|---|---|---|
categoryId | array | Filter by category ids. |
count | integer | How many tickets to return (default 10, max 300). |
dateFrom | string | Created on or after this date. |
dateTo | string | Created on or before this date. |
dueInDays | integer | Due in this many days. |
fromCompanyId | integer | Filter by company id. |
fromUserId | integer | Filter by the ticket creator's user id. |
handledByUserId | integer | Filter by the assignee's user id. |
mode | string | Which tickets: all (default), unanswered, unclosed, or handledbyme. |
offset | integer | Skip this many tickets, for paging. |
statusId | array | Filter by status ids (New 1, In process 2, Closed 3; custom status ids are in the admin area). |
subscribedOnly | boolean | Only tickets the user subscribes to. |
tagName | string | Filter by one tag name. |
updatedByType | string | Last updated by a technician (tech) or a customer (cust). |
updatedFrom | string | Last updated on or after this date. |
updatedTo | string | Last updated on or before this date. |
jitbit_get_ticket Get ticket
Get one ticket with its subject, body, status, category, submitter, assignee, due date, tags and time spent. Jitbit API: GET /api/ticket?id=.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Ticket id (IssueID), for example 382. |
jitbit_list_ticket_comments List ticket comments
List the comments (replies and internal notes) of a ticket in order, with author, date, and whether each is for technicians only. Jitbit API: GET /api/comments?id=.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Ticket id (IssueID), for example 382. |
jitbit_list_ticket_attachments List ticket attachments
List the file attachments of a ticket with file name, size, file id and download URL. The file content is not returned. Jitbit API: GET /api/Attachments?id=.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Ticket id (IssueID), for example 382. |
jitbit_get_ticket_custom_fields Get ticket custom fields
Get the custom fields of a ticket with their current values. Jitbit API: GET /api/TicketCustomFields?id=.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Ticket id (IssueID), for example 382. |
return_unset | boolean | Also return fields with no value (default false). |
jitbit_get_ticket_time_log Get ticket time log
List each logged time entry of a ticket with user, status, seconds and date. Needs technician rights. Jitbit API: GET /api/TimeSpentLog?ticketId=.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Ticket id (IssueID), for example 382. |
jitbit_search_tickets Search tickets
Search tickets by text, with optional creator, assignee, category, status and creation-date filters. Jitbit API: GET /api/Search?query=.
| Parameter | Type | Description |
|---|---|---|
query * | string | Text to search for. |
assignedToUserId | integer | Filter by the assignee's user id. |
categoryId | array | Filter by category ids. |
dateFrom | string | Created on or after this date. |
dateTo | string | Created on or before this date. |
fromUserId | integer | Filter by the ticket creator's user id. |
statusId | array | Filter by status ids. |
jitbit_get_ticket_stats Get ticket stats
Get ticket counts: total, closed, in process, new, unanswered, unassigned, unclosed, handled by the user. With for_current_user true, return the stats available to the current user. Jitbit API: GET /api/Stats.
| Parameter | Type | Description |
|---|---|---|
for_current_user | boolean | Return the stats available to the current user instead of overall stats (default false). |
jitbit_list_categories List categories
List the ticket categories the user can see, with their section. Use the category ids in other tools. Jitbit API: GET /api/categories.
jitbit_list_priorities List priorities
List the ticket priorities, standard and custom. Jitbit API: GET /api/Priorities.
jitbit_list_comment_templates List canned responses
List the canned responses (comment templates), optionally for one category. Use them as a base for a reply. Jitbit API: GET /api/CommentTemplates.
| Parameter | Type | Description |
|---|---|---|
category_id | integer | Only templates for this category id (0 or omitted = all). |
jitbit_get_user Get user
Get one user by id: name, email, company, role flags (admin, technician, manager) and status. Jitbit API: GET /api/User?userId=.
| Parameter | Type | Description |
|---|---|---|
user_id * | integer | User id. |
jitbit_find_user_by_email Find user by email
Find a user by email address and return the full user record. Needs helpdesk-administrator or technician rights. Jitbit API: GET /api/UserByEmail?email=.
| Parameter | Type | Description |
|---|---|---|
email * | string | The user's email address. |
jitbit_find_user_by_username Find user by username
Find a user by username and return the full user record. Needs administrator or technician rights. Jitbit API: GET /api/UserByUsername?username=.
| Parameter | Type | Description |
|---|---|---|
username * | string | The helpdesk username. |
jitbit_list_users List users
List users, with paging and filters for role, company and department. Needs administrator rights. Jitbit API: GET /api/Users.
| Parameter | Type | Description |
|---|---|---|
company_id | integer | Only users of this company. |
count | integer | Users per page (default 500). |
department_id | integer | Only users of this department. |
list_mode | string | Which users to list (default all). |
page | integer | Page number (default 1). |
jitbit_list_kb_articles List knowledge base articles
List knowledge base articles with titles, links, categories and tags. The article bodies are not included: use jitbit_get_kb_article. Jitbit API: GET /api/Articles.
| Parameter | Type | Description |
|---|---|---|
category_id | integer | Only articles in this category id. |
jitbit_get_kb_article Get knowledge base article
Get one knowledge base article with its full body. Jitbit API: GET /api/Article/{id}.
| Parameter | Type | Description |
|---|---|---|
article_id * | integer | Article id (ArticleId). |
jitbit_create_ticket Create ticket
Create a new ticket in a category. It is recorded as made through the API. It sends the customer a confirmation email unless suppress_confirmation is true. Use user_id only for a technician creating a ticket for someone else. Jitbit API: POST /api/ticket.
| Parameter | Type | Description |
|---|---|---|
body * | string | Ticket body text. |
category_id * | integer | Category id (see jitbit_list_categories). |
priority * | integer | Priority: -1 Low, 0 Normal, 1 High, 2 Critical. |
subject * | string | Ticket subject. |
assigned_to_user_id | integer | Assign to this technician (technician rights). |
suppress_confirmation | boolean | Do not send the customer a confirmation email. |
tags | string | Comma-separated tags, for example tag1,tag2. |
user_id | integer | Create on behalf of this user (technician rights). |
jitbit_add_comment Add comment
Post a reply or an internal note on a ticket. A reply (for_techs_only false) notifies the ticket's subscribers, which can include the customer. Check the ticket first. Jitbit API: POST /api/comment.
| Parameter | Type | Description |
|---|---|---|
body * | string | Comment text. |
ticket_id * | integer | Ticket id (IssueID), for example 382. |
for_techs_only | boolean | true = internal note visible to technicians only (default false). The API reference does not say whether it sends email. |
jitbit_update_ticket Update ticket
Change a ticket's category, priority, status, assignee or due date. Only the given fields change. It does not change the subject, body or tags. Regular users can change only their own tickets; technicians and administrators can change any ticket they can see. Setting status_id 3 closes the ticket and may email the customer; jitbit_close_ticket with suppress_notification avoids that. Set assigned_user_id to 0 to remove the assignee, and due_date to an empty string to remove the due date. Jitbit API: POST /api/UpdateTicket.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Ticket id (IssueID), for example 382. |
assigned_user_id | integer | New assignee user id; 0 removes the assignee. |
category_id | integer | New category id. |
due_date | New due date, or an empty string to remove it. | |
priority | integer | Priority: -1 Low, 0 Normal, 1 High, 2 Critical. |
status_id | integer | New status id (New is 1, In process is 2, Closed is 3; custom ids differ). |
jitbit_close_ticket Close ticket
Close a ticket. With suppress_notification true, no email notifications are sent (to the customer or to subscribers). Otherwise the result matches status 3 in jitbit_update_ticket. Jitbit API: POST /api/Close.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Ticket id (IssueID), for example 382. |
suppress_notification | boolean | Close without any email notifications (default false). |