public class JiraTicketerPlugin extends Object implements Plugin
http://www.atlassian.com/software/jira/overview
,
http://docs.atlassian.com/jira-rest-java-client/1.0/apidocs/
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.jira.rest.client.JiraRestClientFactory |
clientFactory |
Constructor and Description |
---|
JiraTicketerPlugin() |
Modifier and Type | Method and Description |
---|---|
Ticket |
get(String ticketId)
Implementation of TicketerPlugin API call to retrieve a Jira trouble ticket.
|
protected com.atlassian.jira.rest.client.JiraRestClient |
getConnection() |
void |
saveOrUpdate(Ticket ticket)
DAO like saveOrUpdate method to be implemented by HelpDesk specific
plugin.
|
protected final com.atlassian.jira.rest.client.JiraRestClientFactory clientFactory
protected com.atlassian.jira.rest.client.JiraRestClient getConnection()
public Ticket get(String ticketId)
public void saveOrUpdate(Ticket ticket)
Plugin
saveOrUpdate
in interface Plugin
ticket
- a Ticket
object.Copyright © 2015. All rights reserved.