Skip to content

Commit c0f987d

Browse files
committed
Address review comments
1 parent 8b7ea13 commit c0f987d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

fern/docs/pages/custom-links.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ A link type defines a relationship between two types of objects. It specifies:
2323

2424
Links can be created between the following object types:
2525
- custom object
26-
- issue, ticket, task, opportunity
26+
- work (issue, ticket, task, opportunity)
2727
- account, user
2828
- part (product, capability, feature, enhancement)
2929

@@ -81,8 +81,8 @@ curl --location 'https://api.devrev.ai/links.create' \
8181
--data '{
8282
"custom_link_type": "don:core:dvrv-us-1:devo/demo:custom_link_type/1",
8383
"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"
8686
}'
8787
```
8888

@@ -104,8 +104,7 @@ curl --location 'https://api.devrev.ai/link-types.custom.list' \
104104
--data '{
105105
"source_types_v2": [
106106
{
107-
"leaf_type": "issue",
108-
"leaf_only": false
107+
"leaf_type": "ticket,
109108
}
110109
]
111110
}'
@@ -175,6 +174,7 @@ This configuration:
175174
- Rejects attempts to link issues with no subtype or with other subtypes
176175

177176
<Callout intent="tip">
177+
The subtype should exist for the corresponding source type.
178178
To add more valid source subtypes, use the update endpoint to add them to the `source_types` array.
179179
</Callout>
180180

0 commit comments

Comments
 (0)