WorkItemLink
A directed link between two work items (blocks, duplicates, relates_to and four more), the rows the linked items section in plnnrly is built from.
- Summary view
- WorkItemLinkList, 12 fields. What a list returns by default.
- Detail view
- WorkItemLink, 12 fields. The default for a single read and for every write.
A link is read relative to the work item you asked about: one row is "blocks ACM-9" from one end and "is blocked by ACM-4" from the other, which is what direction and relationship carry. There is no PATCH: the only mutable property of a link is which two items it joins, so re-linking is a DELETE plus a POST. Deleting either work item deletes the link with it.
Used by
Fields
- Detail only
- Only in the detail view.
- Only with include
- Only when you ask for it with include.
- Server-assigned
- Set by plnnrly, never by a request.
Work item the link points away from. On a link created through POST work-items/{work_item}/links this is always the work item named in the path.
The relationship, stored from the source item's point of view: blocks, clones, duplicates, merged_into, causes, relates_to or split_to. Only relates_to is symmetric.
blocksclonesduplicatesmerged_intocausesrelates_tosplit_to
New values may be added.
User who created the link, or null where that account has since been deleted. Resolve it with GET /api/v2/users/{user}; it is not includable.
Which way this link points relative to the work item you asked about: forward when that item is the source, inverse when it is the target. On the flat GET work-item-links/{work_item_link} there is no work item in the path, so the link is read on its own terms and this is always forward.
The relationship in words, from the point of view of the work item you asked about: blocks from the source end, is blocked by from the target end. Always in English: the API pins the locale.
Work item the link points away from.
Work item the link points at.
Variants
WorkItemLinkList 12 fields
What a collection returns, and what ?view=summary returns on a single record.
The same fields as the detail object.
WorkItemLinkSummary 3 fields
The embedded form: what you get when another resource carries this one and you did not include it.
Leaves out: link_type, created_by, created_at, updated_at, direction, relationship, source_work_item, target_work_item, links
WorkItemLinkLinks 1 field
The links object on this resource.
Keys: self
Something wrong or missing on this page? Tell us