Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: swizzle-1.6.2
-
Fix Version/s: swizzle-1.6.2
-
Component/s: None
-
Labels:None
Description
Hi, all,
it is really a small fix of a typo issue in JIRA class that causes the jira can not add comments.
I do not have the permission to change the code , but it is only oen line of change. could someone in the group do me the favor and make it in the next release?
class:
org.codehaus.swizzle.jira.jira
for addComent method in line 141:
/**
- Adds a comment to an issue TODO: If someone adds a comment to an issue, we should account for that in our caching
*/
public boolean addComment(String issueKey, String comment) throws Exception { Boolean value = (Boolean) call("getComments", issueKey, comment); ----------------------this must be a typo issue, expected to be addComment return value.booleanValue(); }
expected :
/**
- Adds a comment to an issue TODO: If someone adds a comment to an issue, we should account for that in our caching
*/
public boolean addComment(String issueKey, String comment) throws Exception { Boolean value = (Boolean) call("addComment", issueKey, comment); return value.booleanValue(); }