Jamie, from where I can take the field values? For example, when the issue is cloned, the timeestimated should not be cloned. So, It should be like:
issue.timeOriginalEstimate = ''
issue.timeoriginalEstimate = ''
issue.timeoriginalestimate = ''
Are this names related to the column names in database?
Look at IssueFieldConstants class. http://docs.atlassian.com/jira/latest/com/atlassian/jira/issue/IssueFieldConstants.html
not many people will look at answered questions
I agree!
Jamie response:
issue.originalEstimate = 0 // IIRC
They may be related to the column names but the javadoc is the place to look.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
where I can find this javadoc? Because, for example, the tags and the issue security are not beign cloned.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
http://docs.atlassian.com/software/jira/docs/api/latest/com/atlassian/jira/issue/MutableIssue.html
Issue security is a known issue that will be fixed soon: https://studio.plugins.atlassian.com/browse/GRV-94
However it will only work if the target project shares the same issue security scheme.
Labels, you should be able to use get and setLabels(), I think the source and target issue are both available.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.