@@ -23,7 +23,7 @@ A link type defines a relationship between two types of objects. It specifies:
23
23
24
24
Links can be created between the following object types:
25
25
- custom object
26
- - issue, ticket, task, opportunity
26
+ - work ( issue, ticket, task, opportunity)
27
27
- account, user
28
28
- part (product, capability, feature, enhancement)
29
29
@@ -81,8 +81,8 @@ curl --location 'https://api.devrev.ai/links.create' \
81
81
--data '{
82
82
"custom_link_type": "don:core:dvrv-us-1:devo/demo:custom_link_type/1",
83
83
"link_type": "custom_link",
84
- "source": "don:core:dvrv-us-1:devo/demo:custom_object/campaign /1",
85
- "target": "don:core:dvrv-us-1:devo/demo:issue /1"
84
+ "source": "don:core:dvrv-us-1:devo/demo:ticket /1",
85
+ "target": "don:core:dvrv-us-1:devo/demo:custom_object/campaign /1"
86
86
}'
87
87
```
88
88
@@ -104,8 +104,7 @@ curl --location 'https://api.devrev.ai/link-types.custom.list' \
104
104
--data '{
105
105
"source_types_v2": [
106
106
{
107
- "leaf_type": "issue",
108
- "leaf_only": false
107
+ "leaf_type": "ticket,
109
108
}
110
109
]
111
110
}'
@@ -175,6 +174,7 @@ This configuration:
175
174
- Rejects attempts to link issues with no subtype or with other subtypes
176
175
177
176
<Callout intent = " tip" >
177
+ The subtype should exist for the corresponding source type.
178
178
To add more valid source subtypes, use the update endpoint to add them to the ` source_types ` array.
179
179
</Callout >
180
180
0 commit comments