public class IssueLinkTypeApi extends Object
| Constructor and Description |
|---|
IssueLinkTypeApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<IssueLinkType> |
createIssueLinkType(IssueLinkType issueLinkType,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Create issue link type
Creates an issue link type.
|
io.reactivex.Completable |
deleteIssueLinkType(String issueLinkTypeId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete issue link type
Deletes an issue link type.
|
io.reactivex.Single<IssueLinkType> |
getIssueLinkType(String issueLinkTypeId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get issue link type
Returns an issue link type.
|
io.reactivex.Single<IssueLinkTypes> |
getIssueLinkTypes(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get issue link types
Returns a list of all issue link types.
|
io.reactivex.Single<IssueLinkType> |
updateIssueLinkType(String issueLinkTypeId,
IssueLinkType issueLinkType,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Update issue link type
Updates an issue link type.
|
public IssueLinkTypeApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<IssueLinkType> createIssueLinkType(IssueLinkType issueLinkType, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Creates an issue link type. Use this operation to create descriptions of the reasons why issues are linked. The issue link type consists of a name and descriptions for a link's inward and outward relationships.
To use this operation, the site must have issue linking enabled.
Permissions required: Administer Jira global permission.
issueLinkType - (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Completable deleteIssueLinkType(String issueLinkTypeId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Deletes an issue link type.
To use this operation, the site must have issue linking enabled.
Permissions required: Administer Jira global permission.
issueLinkTypeId - The ID of the issue link type.
(required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<IssueLinkType> getIssueLinkType(String issueLinkTypeId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns an issue link type.
To use this operation, the site must have issue linking enabled.
This operation can be accessed anonymously.
Permissions required: Browse projects project permission for a project in the site.
issueLinkTypeId - The ID of the issue link type.
(required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<IssueLinkTypes> getIssueLinkTypes(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns a list of all issue link types.
To use this operation, the site must have issue linking enabled.
This operation can be accessed anonymously.
Permissions required: Browse projects project permission for a project in the site.
restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<IssueLinkType> updateIssueLinkType(String issueLinkTypeId, IssueLinkType issueLinkType, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Updates an issue link type.
To use this operation, the site must have issue linking enabled.
Permissions required: Administer Jira global permission.
issueLinkTypeId - The ID of the issue link type.
(required)issueLinkType - (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.