public class LinkIssueApi extends Object
| Constructor and Description |
|---|
LinkIssueApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Completable |
deleteIssueLink(String linkId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete issue link
Deletes an issue link.
|
io.reactivex.Single<IssueLink> |
getIssueLink(String linkId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get issue link
Returns an issue link.
|
io.reactivex.Single<Object> |
linkIssues(LinkIssueRequestJsonBean linkIssueRequestJsonBean,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Create issue link
Creates a link between two issues.
|
public LinkIssueApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Completable deleteIssueLink(String linkId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Deletes an issue link.
This operation can be accessed anonymously.
Permissions required:
linkId - The ID of the issue link.
(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<IssueLink> getIssueLink(String linkId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns an issue link.
This operation can be accessed anonymously.
Permissions required:
linkId - The ID of the issue link.
(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<Object> linkIssues(LinkIssueRequestJsonBean linkIssueRequestJsonBean, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Creates a link between two issues. Use this operation to indicate a relationship between two issues and optionally add a comment to the from (outward) issue. To use this resource the site must have Issue Linking enabled.
This resource returns nothing on the creation of an issue link. To obtain the ID of the issue link, use https://your-domain.atlassian.net/rest/api/2/issue/[linked issue key]?fields=issuelinks.
If the link request duplicates a link, the response indicates that the issue link was created. If the request included a comment, the comment is added.
This operation can be accessed anonymously.
Permissions required:
linkIssueRequestJsonBean - The issue link request.
(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.