| Package | Description |
|---|---|
| net.rcarz.jiraclient | |
| net.rcarz.jiraclient.greenhopper |
| Modifier and Type | Method and Description |
|---|---|
void |
Issue.addAttachment(File file)
Adds an attachment to this issue.
|
void |
Issue.addComment(String body)
Adds a comment to this issue.
|
void |
Issue.addComment(String body,
String visType,
String visName)
Adds a comment to this issue with limited visibility.
|
void |
Issue.addWatcher(String username)
Adds a watcher to the issue.
|
static Issue.FluentCreate |
Issue.create(RestClient restclient,
String project,
String issueType)
Creates a new JIRA issue.
|
Issue.FluentCreate |
JiraClient.createIssue(String project,
String issueType)
Creates a new issue in the given project.
|
Issue.FluentCreate |
Issue.createSubtask()
Creates a new sub-task.
|
void |
IssueLink.delete()
Deletes this issue link record.
|
void |
Component.delete()
Deletes a component from a project.
|
void |
Issue.deleteWatcher(String username)
Removes a watcher to the issue.
|
byte[] |
Attachment.download()
Downloads attachment to byte array
|
Issue |
Issue.FluentCreate.execute()
Executes the create action (issue includes all fields).
|
void |
Issue.FluentUpdate.execute()
Executes the update action.
|
Component |
Component.FluentCreate.execute()
Executes the create action.
|
void |
Issue.FluentTransition.execute(int id)
Executes the transition action.
|
Issue |
Issue.FluentCreate.execute(String includedFields)
Executes the create action and specify which fields to retrieve.
|
void |
Issue.FluentTransition.execute(String name)
Executes the transition action.
|
static Watches |
Watches.get(RestClient restclient,
String issue)
Retrieves the given watches record.
|
static Votes |
Votes.get(RestClient restclient,
String issue)
Retrieves the given votes record.
|
static Version |
Version.get(RestClient restclient,
String id)
Retrieves the given version record.
|
static User |
User.get(RestClient restclient,
String username)
Retrieves the given user record.
|
static Status |
Status.get(RestClient restclient,
String id)
Retrieves the given status record.
|
static Resolution |
Resolution.get(RestClient restclient,
String id)
Retrieves the given resolution record.
|
static Project |
Project.get(RestClient restclient,
String key)
Retrieves the given project record.
|
static Priority |
Priority.get(RestClient restclient,
String id)
Retrieves the given priority record.
|
static LinkType |
LinkType.get(RestClient restclient,
String id)
Retrieves the given issue link type record.
|
static IssueType |
IssueType.get(RestClient restclient,
String id)
Retrieves the given issue type record.
|
static IssueLink |
IssueLink.get(RestClient restclient,
String id)
Retrieves the given issue link record.
|
static Issue |
Issue.get(RestClient restclient,
String key)
Retrieves the given issue record.
|
static CustomFieldOption |
CustomFieldOption.get(RestClient restclient,
String id)
Retrieves the given custom field option record.
|
static Component |
Component.get(RestClient restclient,
String id)
Retrieves the given component record.
|
static Attachment |
Attachment.get(RestClient restclient,
String id)
Retrieves the given attachment record.
|
static WorkLog |
WorkLog.get(RestClient restclient,
String issue,
String id)
Retrieves the given work log record.
|
static Issue |
Issue.get(RestClient restclient,
String key,
String includedFields)
Retrieves the given issue record.
|
static Comment |
Comment.get(RestClient restclient,
String issue,
String id)
Retrieves the given comment record.
|
static Issue |
Issue.get(RestClient restclient,
String key,
String includedFields,
String expand)
Retrieves the given issue record.
|
static List<Project> |
Project.getAll(RestClient restclient)
Retrieves all project records visible to the session user.
|
List<WorkLog> |
Issue.getAllWorkLogs() |
Component |
JiraClient.getComponent(String id)
Obtains a component given its ID.
|
List<Component> |
JiraClient.getComponentsAllowedValues(String project,
String issueType)
Get a list of options for a components
|
static net.sf.json.JSONObject |
Issue.getCreateMetadata(RestClient restclient,
String project,
String issueType) |
List<CustomFieldOption> |
JiraClient.getCustomFieldAllowedValues(String field,
String project,
String issueType)
Get a list of options for a custom field
|
static Field.Meta |
Field.getFieldMetadata(String name,
net.sf.json.JSONObject editmeta)
Extracts field metadata from an editmeta JSON object.
|
Issue |
JiraClient.getIssue(String key)
Retreives the issue with the given key.
|
Issue |
JiraClient.getIssue(String key,
String includedFields)
Retreives the issue with the given key.
|
Issue |
JiraClient.getIssue(String key,
String includedFields,
String expand)
Retreives the issue with the given key.
|
List<IssueType> |
JiraClient.getIssueTypes()
Obtains the list of all issue types in Jira.
|
List<Priority> |
JiraClient.getPriorities() |
Project |
JiraClient.getProject(String key)
Obtains information about a project, given its project key.
|
List<Project> |
JiraClient.getProjects()
Obtains the list of all projects in Jira.
|
void |
Issue.link(String issue,
String type)
Links this issue with another issue.
|
void |
Issue.link(String issue,
String type,
String body)
Links this issue with another issue and adds a comment.
|
void |
Issue.link(String issue,
String type,
String body,
String visType,
String visName)
Links this issue with another issue and adds a comment with limited visibility.
|
void |
Issue.refresh()
Reloads issue data from the JIRA server (issue includes all navigable
fields).
|
void |
Issue.refresh(String includedFields)
Reloads issue data from the JIRA server and specify which fields to
retrieve.
|
static Issue.SearchResult |
Issue.search(RestClient restclient,
String jql)
Search for issues with the given query.
|
static Issue.SearchResult |
Issue.search(RestClient restclient,
String jql,
String includedFields,
Integer maxResults)
Search for issues with the given query and specify which fields to
retrieve.
|
static Issue.SearchResult |
Issue.search(RestClient restclient,
String jql,
String includedFields,
Integer maxResults,
Integer startAt)
Search for issues with the given query and specify which fields to
retrieve.
|
Issue.SearchResult |
JiraClient.searchIssues(String jql)
Search for issues with the given query.
|
Issue.SearchResult |
JiraClient.searchIssues(String jql,
Integer maxResults)
Search for issues with the given query and max results.
|
Issue.SearchResult |
JiraClient.searchIssues(String jql,
String includedFields)
Search for issues with the given query and specify which fields to
retrieve.
|
Issue.SearchResult |
JiraClient.searchIssues(String jql,
String includedFields,
Integer maxResults)
Search for issues with the given query and specify which fields to
retrieve.
|
Issue.SearchResult |
JiraClient.searchIssues(String jql,
String includedFields,
Integer maxResults,
Integer startAt)
Search for issues with the given query and specify which fields to
retrieve.
|
static net.sf.json.JSONArray |
Field.toArray(Iterable iter,
String type)
Converts an iterable type to a JSON array.
|
static Object |
Field.toJson(String name,
Object value,
net.sf.json.JSONObject editmeta)
Converts the given value to a JSON object.
|
Issue.FluentTransition |
Issue.transition()
Begins a transition field chain.
|
void |
Issue.unvote()
Removes the current user's vote from the issue.
|
Issue.FluentUpdate |
Issue.update()
Begins an update field chain.
|
void |
Issue.vote()
Casts a vote in favour of an issue.
|
| Modifier and Type | Method and Description |
|---|---|
static RapidView |
RapidView.get(RestClient restclient,
int id)
Retrieves the given rapid view.
|
static Backlog |
Backlog.get(RestClient restclient,
RapidView rv)
Retrieves the backlog data for the given rapid view.
|
static SprintReport |
SprintReport.get(RestClient restclient,
RapidView rv,
Sprint sprint)
Retrieves the sprint report for the given rapid view and sprint.
|
static List<RapidView> |
RapidView.getAll(RestClient restclient)
Retrieves all rapid views visible to the session user.
|
Backlog |
RapidView.getBacklogData()
Retrieves the backlog data for this rapid view.
|
Issue |
GreenHopperIssue.getJiraIssue()
Retrieves the full JIRA issue.
|
Project |
RapidViewProject.getJiraProject()
Retrieves the full JIRA project.
|
Version |
RapidViewVersion.getJiraVersion()
Retrieves the full JIRA version.
|
RapidView |
GreenHopperClient.getRapidView(int id)
Retreives the rapid view with the given ID.
|
List<RapidView> |
GreenHopperClient.getRapidViews()
Retreives all rapid views visible to the session user.
|
SprintReport |
RapidView.getSprintReport(Sprint sprint)
Retrieves the sprint report for the given sprint.
|
List<Sprint> |
RapidView.getSprints()
Retrieves all sprints associated with this rapid view.
|
Copyright © 2014. All Rights Reserved.