|
[
Permlink
| « Hide
]
Gerd Gueldenast added a comment - 05/Apr/06 01:18 AM
We really want to use this feature. When you schedule Release 3.7. could you please correct this bug?
The attached class file will allow you to set the reporter of the issue via SOAP.
If the reporter is not set on the remote issue the user that is used to create the issue will be used as the reporter. Regards, The attached jar file is a point release of 3.6 that will allow for the setting of the reporter.
If this fails to work, please post a comment to this issue. I can confirm, that the fix works very well with version 3.5.2. Thanks for the resolution, Justin.
Also works well with 3.6.1 and 3.6.2.
When will this bugfix be officialle incorpoated into one of the JIRA Releases? Maybe 3.6.3 ? The few lines in question that allow you to set the reporter for an issue are the following:
This is added to the: private Map makeActionParams(final GenericValue project, RemoteIssue rIssue, User user) throws RemoteValidationException of the IssueServiceImpl class if(StringUtils.isNotEmpty(rIssue.getReporter())) { actionParams.put(IssueFieldConstants.REPORTER, new String[]{rIssue.getReporter()}); } else { actionParams.put(IssueFieldConstants.REPORTER, new String[]{user.getName()}); } // in replace of: // actionParams.put(IssueFieldConstants.REPORTER, new String[]{user.getName()}); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||