package com.perforce.ts.rest;
import com.atlassian.jira.rest.client.api.IssueRestClient;
import com.atlassian.jira.rest.client.api.RestClientException;
import com.atlassian.jira.rest.client.api.domain.Issue;
import com.atlassian.jira.rest.client.api.domain.input.IssueInput;
import io.atlassian.util.concurrent.Promise;
import java.net.URI;
/**
* Extending the IssueRestClient interface to handle updating of issue resources
* (fields) like summary, description, etc.
* @see com.atlassian.jira.rest.client.api.MetadataRestClient
*/
public interface ExtendedIssueRestClient extends IssueRestClient {
/**
* Performs selected transition on selected issue.
*
* @param issueUri URI of selected issue. Usually obtained by calling <code>Issue.getSelf()</code>
* @param issueInput data for this issue (fields modified, the description, etc.)
* @throws RestClientException in case of problems (connectivity, malformed messages, invalid argument, etc.)
*/
Promise<Void> update(URI issueUri, IssueInput issueInput);
/**
* Performs selected transition on selected issue.
*
* @param issue selected issue
* @param issueInput data for this issue (fields modified, the description, etc.)
* @throws RestClientException in case of problems (connectivity, malformed messages, invalid argument, etc.)
*/
Promise<Void> update(Issue issue, IssueInput issueInput);
}
# |
Change |
User |
Description |
Committed |
|
#2
|
26340 |
Joel Brown |
Update jiraRestAccess to use latest jira java client. |
|
|
#1
|
26339 |
Joel Brown |
Branching for reworking with most recent atlassian jira jave client |
|
|
//guest/joel_brown/jiraRestAccess/src/com/perforce/ts/rest/ExtendedIssueRestClient.java |
#1
|
12538 |
Joel Brown |
Test program for JIRA REST connections, useful for troubleshooting p4dtg's JIRA-REST plugin. |
|
|