|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.thucydides.plugins.jira.service.JiraIssueTracker
public class JiraIssueTracker
Update comments in JIRA issues with links to Thucydides reports. This plugin will use the JIRA username and password provided in the jira.username and jira.password system properties. The URL of the JIRA instance should be provided using the jira.url system property.
| Constructor Summary | |
|---|---|
JiraIssueTracker(JIRAConfiguration jiraConfiguration)
|
|
JiraIssueTracker(org.slf4j.Logger logger,
JIRAConfiguration jiraConfiguration)
|
|
| Method Summary | |
|---|---|
void |
addComment(String issueKey,
String commentText)
Add a comment to the specified issue. |
void |
doTransition(String issueKey,
String workflowAction)
|
List<IssueComment> |
getCommentsFor(String issueKey)
Return the comments associated with the specified issue. |
String |
getStatusFor(String issueKey)
Return the current status for a given JIRA issue. |
String |
toString()
|
void |
updateComment(IssueComment issueComment)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
@Inject public JiraIssueTracker(JIRAConfiguration jiraConfiguration)
public JiraIssueTracker(org.slf4j.Logger logger,
JIRAConfiguration jiraConfiguration)
| Method Detail |
|---|
public String toString()
toString in class Object
public void addComment(String issueKey,
String commentText)
throws IssueTrackerUpdateException
addComment in interface IssueTrackerissueKey - the unique key identifying the issue to be commented.commentText - text of the comment.
IssueTrackerUpdateException
public List<IssueComment> getCommentsFor(String issueKey)
throws IssueTrackerUpdateException
getCommentsFor in interface IssueTrackerissueKey - Identifies the specified issue.
IssueTrackerUpdateExceptionpublic void updateComment(IssueComment issueComment)
updateComment in interface IssueTracker
public String getStatusFor(String issueKey)
throws IssueTrackerUpdateException
getStatusFor in interface IssueTrackerissueKey -
IssueTrackerUpdateException
public void doTransition(String issueKey,
String workflowAction)
throws IssueTrackerUpdateException
doTransition in interface IssueTrackerIssueTrackerUpdateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||