timeline comments source identification in workflows
ART-1277_KNOWLEDGE_NODE-27
Extracting relevant information from the event payload |\n| 13 | const workCreated = event.payload.source_id; |\n| 14 |  |\n| 15 | // Building the comment body for command events |\n| 16 | const bodyComment = "Hello World is printed on the work from the command."; |\n| 17 |  |\n| 18 | // Creating the timeline entry comment using DevRev SDK |\n| 19 | const body = { |\n| 20 | object: workCreated, |\n| 21 | type: "timeline_comment", |\n| 22 | body: bodyComment, |\n| 23 | }; |\n| 24 |  |\n| 25 | //
Snap-in triggered by a DevRev event | DevRev | Docs
ART-1265_KNOWLEDGE_NODE-7
"timeline_comment", |\n| 4 | "body": "message", |\n| 5 | "body_type": "text", |\n| 6 | "created_by": { |\n| 7 | "type": "dev_user", |\n| 8 | "display_id": "DEVU-1", |\n| 9 | "display_name": "John Doe", |\n| 10 | "email": "karuna.tata@devrev.ai", |\n| 11 | "full_name": "John Doe", |\n| 12 | "id": "don:identity:dvrv-us-1:devo/<dev-org-id>:devu/1", |\n| 13 | "state": "active" |\n| 14 | }, |\n| 15 | "created_date": "2023-11-29T09:05:47.497205Z", |\n| 16 | "id":
Restricted messages on a timeline | DevRev | Docs
ART-1478_KNOWLEDGE_NODE-19
"timeline_comment" and .timeline_entry_created.entry.object_type == "issue") then true  \n    19|               else false  \n    20|               end  \n    21|             else false  \n    22|             end\n[/code]  \n  \n## Scheduled events\n\n`flow-events` are an event source that snap-ins can use to publish or schedule events directly. This event source can then be used to trigger another automation. This capability makes it ideal for building snap-ins that need to act later. For
Event sources — DevRev | Docs
ART-1471_KNOWLEDGE_NODE-7
2|     "timeline_entry": {  \n    3|         "type": "timeline_comment",  \n    4|         "body": "message",  \n    5|         "body_type": "text",  \n    6|         "created_by": {  \n    7|             "type": "dev_user",  \n    8|             "display_id": "DEVU-1",  \n    9|             "display_name": "John Doe",  \n    10|             "email": "karuna.tata@devrev.ai",  \n    11|             "full_name": "John Doe",  \n    12|             "id":
Restricted messages on a timeline — DevRev | Docs
ART-1485_KNOWLEDGE_NODE-32
devrevSDK = client.setup({  \n    8|     endpoint: API_BASE,  \n    9|     token: devrevPAT,  \n    10|   });  \n    11|   \n    12|   // Extracting relevant information from the event payload  \n    13|   const workCreated = event.payload.source_id;  \n    14|   \n    15|   // Building the comment body for command events  \n    16|   const bodyComment = "Hello World is printed on the work from the command.";  \n    17|   \n    18|   // Creating the timeline entry comment using DevRev SDK  \n
Snap-in triggered by a DevRev event — DevRev | Docs
ART-1425_KNOWLEDGE_NODE-2
id=don:core:dvrv-us-1:devo/example:ticket/123:comment/comment-id\n[/code]  \n  \nTry it\n\n200getExample\n\n[code]\n\n    1| {  \n    ---|---  \n    2|   "timeline_entry": {  \n    3|     "created_by": {  \n    4|       "display_id": "foo",  \n    5|       "id": "foo",  \n    6|       "display_name": "foo",  \n    7|       "display_picture": {  \n    8|         "display_id": "foo",  \n    9|         "id": "foo",  \n    10|         "file": {  \n    11|           "type": "foo",  \n    12|
Get Timeline Entry — DevRev | Docs
ART-1435_KNOWLEDGE_NODE-2
"Content-Type: application/json" \\  \n    >|      -d \'{  \n    >|   "id": "don:core:dvrv-us-1:devo/example:ticket/123:comment/comment-id"  \n    >| }\'\n[/code]  \n  \nTry it\n\n200timelineEntriesGetPostExample\n\n[code]\n\n    1| {  \n    ---|---  \n    2|   "timeline_entry": {  \n    3|     "created_by": {  \n    4|       "display_id": "foo",  \n    5|       "id": "foo",  \n    6|       "display_name": "foo",  \n    7|       "display_picture": {  \n    8|         "display_id": "foo",  \n
Get Timeline Entry (POST) — DevRev | Docs
ART-1229_KNOWLEDGE_NODE-1
"Authorization: Bearer <token>" \\ |\n| > | --data-urlencode id=don:core:dvrv-us-1:devo/example:ticket/123:comment/comment-id |\n```\n\n[Try it](/api-reference/timeline-entries/get?explorer=true)\n\n200Retrieved\n\n```\n|  |  |\n| --- | --- |\n| 1 | { |\n| 2 | "timeline_entry": { |\n| 3 | "created_by": { |\n| 4 | "display_id": "string", |\n| 5 | "id": "string", |\n| 6 | "display_name": "string", |\n| 7 | "display_picture": { |\n| 8 | "display_id": "string", |\n| 9 | "id": "string", |\n| 10 |
Get Timeline Entry | DevRev | Docs
ART-1478_KNOWLEDGE_NODE-18
8|         event_types:  \n    9|           - work_created  \n    10|           - timeline_entry_created  \n    11|         filter:  \n    12|           jq_query: |  \n    13|             if .type == "work_created" then  \n    14|               if (.work_created.work.type == "issue") then true  \n    15|               else false  \n    16|               end  \n    17|             elif .type == "timeline_entry_created" then  \n    18|               if (.timeline_entry_created.entry.type ==
Event sources — DevRev | Docs
ART-1484_KNOWLEDGE_NODE-217
2|   "object": "source_id",  \n    3|   "body": "Giphy",  \n    4|   "type": "timeline_comment",  \n    5|   "snap_kit_body": {  \n    6|     "snap_in_id": "snap_in_id",  \n    7|     "snap_in_action_name": "giphy",  \n    8|     "body": {  \n    9|       "snaps": [  \n    10|         {  \n    11|           "type": "card",  \n    12|           "title": {  \n    13|             "text": "Hip hip hurray!",  \n    14|             "type": "plain_text"  \n    15|           },  \n    16|
Snapkit — DevRev | Docs
ART-4184_KNOWLEDGE_NODE-26
includes information about the original author and source ticket.\n* **Reduced clutter**: Maintains separate parent comment threads for internal discussions and customer messages.\n* **Attachment support**: File attachments in comments are preserved during synchronization.\n* **Automatic schema management**: Creates necessary custom fields for tracking comment relationships.\n\nInstallation and configuration\n------------------------------\n\n### Prerequisites\n\n* DevRev organization with
Ticket linked issues comment sync | Automate | Snap-ins | DevRev
ART-1681_KNOWLEDGE_NODE-2
"display_name": "string" |\n| 10 | }, |\n| 11 | "comments": [ |\n| 12 | { |\n| 13 | "comment": { |\n| 14 | "display_id": "string", |\n| 15 | "id": "string", |\n| 16 | "sync_metadata": { |\n| 17 | "external_reference": "string", |\n| 18 | "origin_system": "string" |\n| 19 | } |\n| 20 | }, |\n| 21 | "created_by": { |\n| 22 | "display_id": "string", |\n| 23 | "id": "string", |\n| 24 | "display_name": "string", |\n| 25 | "display_picture": { |\n| 26 | "display_id": "string", |\n| 27 | "id":
Hybrid Search (POST) | DevRev | Docs
ART-1616_KNOWLEDGE_NODE-2
12 | { |\n| 13 | "comment": { |\n| 14 | "display_id": "string", |\n| 15 | "id": "string", |\n| 16 | "sync_metadata": { |\n| 17 | "external_reference": "string", |\n| 18 | "origin_system": "string" |\n| 19 | } |\n| 20 | }, |\n| 21 | "created_by": { |\n| 22 | "display_id": "string", |\n| 23 | "id": "string", |\n| 24 | "display_name": "string", |\n| 25 | "display_picture": { |\n| 26 | "display_id": "string", |\n| 27 | "id": "string", |\n| 28 | "file": { |\n| 29 | "type": "string", |\n| 30 |
Core Search (POST) | DevRev | Docs