works

Export

GET
Exports a collection of work items.

Query parameters

applies_to_partstringOptional
Filters for work belonging to any of the provided parts.
created_bystringOptional
Filters for work created by any of these users.
firstintegerOptional
The number of work items to return. The default is '50', the maximum is '5000'.
issue.accountsstringOptional
Filters for issues with any of the provided Accounts.
issue.priorityenumOptional
Filters for issues with any of the provided priorities.
Allowed values: p0p1p2p3
issue.priority_v2integerOptional
Filters for issues with any of the provided priority enum ids.
issue.rev_orgsstringOptional
Filters for issues with any of the provided Rev organizations.
owned_bystringOptional
Filters for work owned by any of these users.
reported_bystringOptional
Filters for work reported by any of these users.
stage.namestringOptional
Filters for records in the provided stage(s) by name.
staged_info.is_stagedbooleanOptional
Filters for issues that are staged.
sync_metadata.last_sync_in.statusenumOptional
Filters for works with selected sync statuses.
Allowed values: failedmodifiedstagedsucceeded
sync_metadata.last_sync_in.sync_unitstringOptional
Filters for works modified with selected sync units.
sync_metadata.last_sync_out.statusenumOptional
Filters for works with selected sync statuses.
Allowed values: failedsucceeded
sync_metadata.last_sync_out.sync_unitstringOptional
Filters for works modified with selected sync units.
sync_metadata.origin_systemstringOptional
Filters for issues synced from this specific origin system.
tagsstringOptional
Filters for work with any of the provided tags.
ticket.channelsenumOptional
Filters for tickets with any of the provided channels.
Allowed values: emailplugslack
ticket.groupstringOptional
Filters for tickets belonging to specific groups.
ticket.is_spambooleanOptional
Filters for tickets that are spam.
ticket.needs_responsebooleanOptional
Filters for tickets that need response.
ticket.rev_orgstringOptional
Filters for tickets that are associated with any of the provided Rev organizations.
ticket.severityenumOptional
Filters for tickets with any of the provided severities.
Allowed values: blockerhighlowmedium
ticket.sla_summary.stageenumOptional
Filters for records with any of the provided SLA stages.
Allowed values: breachedcompletedpausedrunningwarning
ticket.source_channelstringOptional
Filters for tickets with any of the provided source channels.
typeenumOptional
Filters for work of the provided types.
Allowed values: issueticket

Response

This endpoint returns an object
works
list of unions
The resulting collection of work items.
GET
1curl https://api.devrev.ai/works.export \
2 -H "Authorization: <apiKey>"
200Retrieved
1{
2 "works": []
3}