|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XmlRpcService
The XmlRpcService provides an XML-RPC interface into JIRA. All available methods are documented here. For the latest on the plugin, visit http://confluence.atlassian.com/display/JIRAEXT/JIRA+RPC+plugin
| Method Summary | |
|---|---|
boolean |
addComment(String token,
String issueKey,
String comment)
Adds a comment to an issue |
Hashtable |
createIssue(String token,
Hashtable rIssueStruct)
Creates an issue in JIRA from a Hashtable object. |
Vector |
getComments(String token,
String issueKey)
Returns all comments associated with the issue |
Vector |
getComponents(String token,
String projectKey)
Returns all components available in the specified project |
Vector |
getFavouriteFilters(String token)
Gets all favourite filters available for the currently logged in user |
Hashtable |
getIssue(String token,
String issueKey)
Gets an issue from a given issue key. |
Vector |
getIssuesFromFilter(String token,
String filterId)
Executes a saved filter |
Vector |
getIssuesFromTextSearch(String token,
String searchTerms)
Find issues using a free text search |
Vector |
getIssuesFromTextSearchWithProject(String token,
Vector projectKeys,
String searchTerms,
int maxNumResults)
Find issues using a free text search, limited to certain projects |
Vector |
getIssueTypes(String token)
Returns all visible issue types in the system |
Vector |
getIssueTypesForProject(String token,
String projectId)
Returns all visible (non-sub task) issue types for the specified project id |
Vector |
getPriorities(String token)
Returns all priorities in the system |
Vector |
getProjectsNoSchemes(String token)
Returns a list of projects available to the user |
Vector |
getResolutions(String token)
Returns all resolutions in the system |
Vector |
getSavedFilters(String token)
Deprecated. since v3.13. Please use getFavouriteFilters(String) |
Hashtable |
getServerInfo(String token)
Returns the Server information such as baseUrl, version, edition, buildDate, buildNumber. |
Vector |
getStatuses(String token)
Returns all statuses in the system |
Vector |
getSubTaskIssueTypes(String token)
Returns all visible subtask issue types in the system |
Vector |
getSubTaskIssueTypesForProject(String token,
String projectId)
Returns all visible sub task issue types for the specified project id. |
Hashtable |
getUser(String token,
String username)
Returns a user's information given a username |
Vector |
getVersions(String token,
String projectKey)
Returns all versions available in the specified project |
String |
login(String username,
String password)
Logs the user into JIRA. |
boolean |
logout(String token)
Logs the user out of JIRA |
Hashtable |
updateIssue(String token,
String issueKey,
Hashtable fieldValues)
Updates an issue in JIRA from a Hashtable object. |
| Method Detail |
|---|
String login(String username,
String password)
throws Exception
username - username of the person logged in in aspassword - the appropriate password
Exceptionboolean logout(String token)
token -
Hashtable getServerInfo(String token)
token -
RemoteServerInfo.
Vector getProjectsNoSchemes(String token)
throws Exception
token -
RemoteProject
Exception
Vector getVersions(String token,
String projectKey)
throws Exception
token - projectKey - The key of project
RemoteVersion
Exception
Vector getComponents(String token,
String projectKey)
throws Exception
token - projectKey - The key of the project
RemoteComment
Exception
Vector getIssueTypesForProject(String token,
String projectId)
throws Exception
token - projectId -
RemoteIssueType
Exception
Vector getSubTaskIssueTypesForProject(String token,
String projectId)
throws Exception
token - projectId -
RemoteIssueType
Exception
Vector getIssueTypes(String token)
throws Exception
token -
RemoteIssueType
Exception
Vector getSubTaskIssueTypes(String token)
throws Exception
token -
RemoteIssueType
Exception
Vector getPriorities(String token)
throws Exception
token -
RemotePriority
Exception
Vector getStatuses(String token)
throws Exception
token -
RemoteStatus
Exception
Vector getResolutions(String token)
throws Exception
token -
RemoteResolution
Exception
Hashtable getUser(String token,
String username)
throws Exception
token - username - the username of the user being retrieved
RemoteUser
Exception
Vector getSavedFilters(String token)
throws Exception
getFavouriteFilters(String)
token -
RemoteFilter
Exception
Vector getFavouriteFilters(String token)
throws Exception
token -
RemoteFilter
Exception
Hashtable getIssue(String token,
String issueKey)
throws Exception
token - issueKey - the key of an issue (e.g. JRA-111)
RemoteIssue.
This has nested Hashtables for components RemoteComponent, affectsVersions, fixVersions RemoteVersion and customFieldValues RemoteCustomFieldValue.
Exception
Hashtable createIssue(String token,
Hashtable rIssueStruct)
throws Exception
createIssue(String, Hashtable). That is components, affectsVersions, fixVersions and customFieldValues must
be blank or be Hashtables with the appropriate data structures. Issues must not have the fields id, key or reporter set,
in addition to any standard rules of issue creation (e.g. permissions, not null summary)
token - rIssueStruct - Hashtable of issue fields with the appropriate structure for RemoteIssue.
Exception
Hashtable updateIssue(String token,
String issueKey,
Hashtable fieldValues)
throws Exception
createIssue(String, Hashtable). That is components, affectsVersions, fixVersions and customFieldValues must
be blank or be Hashtables with the appropriate data structures. Issues must not have the fields id, key or reporter set,
in addition to any standard rules of issue creation (e.g. permissions, not null summary)
token - fieldValues - Hashtable of issue fields with the appropriate structure for RemoteIssue.
Exception
boolean addComment(String token,
String issueKey,
String comment)
throws Exception
token - issueKey - he key of an issue (e.g. JRA-111)comment - the text string for the comment
Exception
Vector getIssuesFromFilter(String token,
String filterId)
throws Exception
token - filterId - id of the saved filter
Exception
Vector getIssuesFromTextSearch(String token,
String searchTerms)
throws Exception
token - searchTerms - The terms to search for
Exception
Vector getIssuesFromTextSearchWithProject(String token,
Vector projectKeys,
String searchTerms,
int maxNumResults)
throws Exception
token - projectKeys - searchTerms -
Exception
Vector getComments(String token,
String issueKey)
throws Exception
token - issueKey - the key of an issue (e.g. JRA-111)
RemoteComment
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||