@PublicApi
public interface IssueLinkTypeService
IssueLinkType
s.
If Issue Linking is disabled, none of these will work.Modifier and Type | Method and Description |
---|---|
ServiceOutcome<IssueLinkType> |
createIssueLinkType(ApplicationUser user,
String name,
String outward,
String inward)
Create a new issue link type.
|
ServiceOutcome<IssueLinkType> |
deleteIssueLinkType(ApplicationUser user,
IssueLinkType linkType)
Delete a given IssueLinkType, checking for permissions.
|
ServiceOutcome<Collection<IssueLinkType>> |
getIssueLinkTypes(ApplicationUser user)
Get a list of all issue link types in the system.
|
ServiceOutcome<IssueLinkType> |
updateIssueLinkType(ApplicationUser user,
IssueLinkType linkType,
String name,
String outward,
String inward)
Update an existing issue link type
|
ServiceOutcome<IssueLinkType> createIssueLinkType(ApplicationUser user, String name, String outward, String inward)
user
- the user who will create itname
- the name of the link to createoutward
- the description to use for outbound links of this typeinward
- the description to use for inbound links of this typeServiceOutcome<IssueLinkType> deleteIssueLinkType(ApplicationUser user, IssueLinkType linkType)
user
- the user who is performing the actionlinkType
- the IssueLinkType to deleteServiceOutcome<Collection<IssueLinkType>> getIssueLinkTypes(ApplicationUser user)
user
- the user who wants to knowServiceOutcome<IssueLinkType> updateIssueLinkType(ApplicationUser user, IssueLinkType linkType, String name, String outward, String inward)
user
- the user performing the modificationlinkType
- the link you want to updatename
- the new name to useoutward
- the new outbound description to useinward
- the new inbound description to useCopyright © 2002-2018 Atlassian. All Rights Reserved.