public interface JiraService
| Modifier and Type | Method and Description |
|---|---|
String |
create(JiraTask task,
CoinUser user)
Create a new task in Jira.
|
void |
delete(String key)
Delete a task from Jira.
|
void |
doAction(String key,
JiraTask.Action action)
Re-open or close a Jira task.
|
List<JiraTask> |
getTasks(List<String> keys)
Retrieve specific tasks from Jira.
|
void |
setBaseUrl(String baseUrl)
Set the base URL of the Jira instance to use
|
void |
setPassword(String password)
Set the password to use to authenticate against Jira
|
void |
setProjectKey(String projectKey)
The project key used to submit issues
|
void |
setUsername(String username)
Set the username to use to authenticate against Jira
|
String create(JiraTask task, CoinUser user) throws IOException
task - the task you want to createuser - the user which issued the requestIOException - when communicating with jira failsvoid delete(String key) throws IOException
key - the task keyIOException - when communicating with jira failsvoid doAction(String key, JiraTask.Action action) throws IOException
key - the task keyaction - what action to undertakeIOException - when communicating with jira failsList<JiraTask> getTasks(List<String> keys) throws IOException
keys - a list of the task keys you want to retrieveIOException - when communicating with jira failsvoid setBaseUrl(String baseUrl)
baseUrl - Stringvoid setUsername(String username)
username - the username as a Stringvoid setPassword(String password)
password - Stringvoid setProjectKey(String projectKey)
projectKey - StringCopyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.