Interface CreateLinkCommand
public interface CreateLinkCommand
Command for creating linked work item
- Since:
- 3.10.0
-
Method Summary
Modifier and TypeMethodDescriptionSet revision field of the createdLinkedWorkItem
.Adds the link.suspect
(boolean value) Set suspect field of the createdLinkedWorkItem
.
-
Method Details
-
role
Adds the link. If the link already exists, it will NOT add another one. Links are the same, when target item and link role are equal. Link is also not created when the given item is same as this item.- Parameters:
role
-- Returns:
- Return created
LinkedWorkItem
Null if user doesn't have permission or if link already exist or try to link itself
-
revision
Set revision field of the createdLinkedWorkItem
.- Parameters:
value
-- Returns:
this
-
suspect
Set suspect field of the createdLinkedWorkItem
.- Parameters:
value
-- Returns:
this
-