Skip to main content
Glama

DevRev MCP Server

Official
by devrev

list_works

Retrieve and filter all work items (issues, tickets) in DevRev by type, ownership, state, dates, custom fields, and more using pagination and sorting options.

Instructions

List all work items (issues, tickets) in DevRev

Input Schema

NameRequiredDescriptionDefault
actual_close_dateNo
actual_start_dateNoThe actual start date range can only be used for issues. Do not use this field for tickets.
applies_to_partNoThe part IDs of the works to list
created_byNoThe user IDs of the creators of the works to list
created_dateNo
cursorNoThe cursor to use for pagination. If not provided, iteration begins from the first page. In the output you get next_cursor, use it and the correct mode to get the next or previous page. You can use these to loop through all the pages.
custom_fieldsNoUse this to filter on the custom fields, which are not present in the input schema.
modified_byNoThe user IDs of the users who modified the works to list
modified_dateNo
owned_byNoThe user IDs of the owners of the works to list
rev_orgsNoThe rev_org IDs of the customer rev_orgs filter on Issues and Tickets to list. Use this filter for issues and tickets that are related to a customer rev_org.
sla_summaryNoService Level Agreement summary filter on issues to list.
sort_byNoThe field (and the order) to sort the works by, in the sequence of the array elements
sprintNoUse this to filter on sprints.
stateNoThe state names of the works to list
subtypeNoUse this to filter on the subtype of the work items.
target_close_dateNo
target_start_dateNoThe target start date range can only be used for issues. Do not use this field for tickets.
typeYesThe type of works to list

Input Schema (JSON Schema)

{ "properties": { "actual_close_date": { "properties": { "after": { "description": "The start date of the actual close date range, for example: 2025-06-03T00:00:00Z", "type": "string" }, "before": { "description": "The end date of the actual close date range, for example: 2025-06-03T00:00:00Z", "type": "string" } }, "required": [ "after", "before" ], "type": "object" }, "actual_start_date": { "description": "The actual start date range can only be used for issues. Do not use this field for tickets.", "properties": { "after": { "description": "The start date of the actual start date range, for example: 2025-06-03T00:00:00Z", "type": "string" }, "before": { "description": "The end date of the actual start date range, for example: 2025-06-03T00:00:00Z", "type": "string" } }, "required": [ "after", "before" ], "type": "object" }, "applies_to_part": { "description": "The part IDs of the works to list", "items": { "type": "string" }, "type": "array" }, "created_by": { "description": "The user IDs of the creators of the works to list", "items": { "type": "string" }, "type": "array" }, "created_date": { "properties": { "after": { "description": "The start date of the created date range, for example: 2025-06-03T00:00:00Z", "type": "string" }, "before": { "description": "The end date of the created date range, for example: 2025-06-03T00:00:00Z", "type": "string" } }, "required": [ "after", "before" ], "type": "object" }, "cursor": { "description": "The cursor to use for pagination. If not provided, iteration begins from the first page. In the output you get next_cursor, use it and the correct mode to get the next or previous page. You can use these to loop through all the pages.", "properties": { "mode": { "description": "The mode to iterate after the cursor or before the cursor .", "enum": [ "after", "before" ], "type": "string" }, "next_cursor": { "description": "The cursor to use for pagination. If not provided, iteration begins from the first page.", "type": "string" } }, "required": [ "next_cursor", "mode" ], "type": "object" }, "custom_fields": { "description": "Use this to filter on the custom fields, which are not present in the input schema.", "items": { "properties": { "name": { "description": "The name of the custom field. All the characters in the name should be lowercase and words separated by underscores. For example: 'custom_field_name'", "type": "string" }, "value": { "description": "The value of the custom field", "items": { "type": "string" }, "type": "array" } }, "required": [ "name", "value" ], "type": "object" }, "type": "array" }, "modified_by": { "description": "The user IDs of the users who modified the works to list", "items": { "type": "string" }, "type": "array" }, "modified_date": { "properties": { "after": { "description": "The start date of the modified date range, for example: 2025-06-03T00:00:00Z", "type": "string" }, "before": { "description": "The end date of the modified date range, for example: 2025-06-03T00:00:00Z", "type": "string" } }, "required": [ "after", "before" ], "type": "object" }, "owned_by": { "description": "The user IDs of the owners of the works to list", "items": { "type": "string" }, "type": "array" }, "rev_orgs": { "description": "The rev_org IDs of the customer rev_orgs filter on Issues and Tickets to list. Use this filter for issues and tickets that are related to a customer rev_org.", "items": { "type": "string" }, "type": "array" }, "sla_summary": { "description": "Service Level Agreement summary filter on issues to list.", "properties": { "after": { "description": "The start date of the SLA summary range, for example: 2025-06-03T00:00:00Z", "type": "string" }, "before": { "description": "The end date of the SLA summary range, for example: 2025-06-03T00:00:00Z", "type": "string" } }, "required": [ "after", "before" ], "type": "object" }, "sort_by": { "description": "The field (and the order) to sort the works by, in the sequence of the array elements", "items": { "enum": [ "target_start_date:asc", "target_start_date:desc", "target_close_date:asc", "target_close_date:desc", "actual_start_date:asc", "actual_start_date:desc", "actual_close_date:asc", "actual_close_date:desc", "created_date:asc", "created_date:desc" ], "type": "string" }, "type": "array" }, "sprint": { "description": "Use this to filter on sprints.", "items": { "description": "The DevRev ID of the sprint to filter on. In DevRev a sprint is a vista group item. You will get these IDs from the response of get vista tool.", "type": "string" }, "type": "array" }, "state": { "description": "The state names of the works to list", "items": { "enum": [ "open", "closed", "in_progress" ], "type": "string" }, "type": "array" }, "subtype": { "description": "Use this to filter on the subtype of the work items.", "items": { "description": "The DevRev value of the subtype to filter on. Remember to always use the list_subtypes tool to check the correct DevRev values of subtypes.", "type": "string" }, "type": "array" }, "target_close_date": { "properties": { "after": { "description": "The start date of the target close date range, for example: 2025-06-03T00:00:00Z", "type": "string" }, "before": { "description": "The end date of the target close date range, for example: 2025-06-03T00:00:00Z", "type": "string" } }, "required": [ "after", "before" ], "type": "object" }, "target_start_date": { "description": "The target start date range can only be used for issues. Do not use this field for tickets.", "properties": { "after": { "description": "The start date of the target start date range, for example: 2025-06-03T00:00:00Z", "type": "string" }, "before": { "description": "The end date of the target start date range, for example: 2025-06-03T00:00:00Z", "type": "string" } }, "required": [ "after", "before" ], "type": "object" }, "type": { "description": "The type of works to list", "items": { "enum": [ "issue", "ticket" ], "type": "string" }, "type": "array" } }, "required": [ "type" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/devrev/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server