Overview
Intake allows guests to create work items that admins and members can review and move into a project.
Enable Intake
To enable the Intake feature, the user can hit a PATCH request on the project api with the body as
{
intake_view:true,
}To create an Intake work item, the payload should be sent in the below format
{
"issue": {
"name": "Snoozed task 2",
"priority": "high"
}
}The Intake Object
Attribute
created_attimestampThe timestamp of the time when the project was created
updated_attimestampThe timestamp of the time when the project was last updated
statusthe status of the work item can be in above mentioned status
- -2 - Pending
- -1 - Rejected
- 0 - Snoozed
- 1 - Accepted
- 2 - Duplicate
snoozed_tillThe time untill the work item is snoozed.
sourceThe source describes the type of intake from
created_by,updated_byuuidThese values are auto saved and represent the id of the user that created or updated the module
ProjectuuidIt contains projects uuid which is automatically saved.
WorkspaceuuidIt contains workspace uuid which is automatically saved.
inboxintake id of the work item
issuework item id of the work item
duplicate_toId of the work item of which the current work item is duplicate of.
{
"id": "0de4d6d1-fdc7-4849-8080-dc379ab210e3",
"pending_issue_count": 0,
"created_at": "2023-11-21T07:32:26.072634Z",
"updated_at": "2023-11-21T07:32:26.072648Z",
"name": "a dummy project with Intake",
"description": "",
"is_default": true,
"view_props": {},
"created_by": "0649cb9d-05c8-4ef4-8e8b-d108ccddd42c",
"updated_by": "0649cb9d-05c8-4ef4-8e8b-d108ccddd42c",
"project": "6436c4ae-fba7-45dc-ad4a-5440e17cb1b2",
"workspace": "c467e125-59e3-44ec-b5ee-f9c1e138c611"
}
