Hello. I am using the JMWE Create / Clone Issue function, and trying to set Original Estimate and Remaining Estimate, to fill out the 'Time Tracking' fields on the created task.
'Original Estimate' is working as expected. I set it to a constant value of '48', and it shows up in the new task as '1w 1d' (6 days, or 48 hours)
'Remaining Estimate' is not working. I set it to a constant value of '48', and Remaining Estimate is blank in the new task. Any value I try to use has this result.
Is there a way to solve this?
Thank you.
This is indeed a Jira bug. You cannot set the Remaining Estimate (nor Time Spent) field using the issue creation API.
We will implement a workaround in the next version of JMWE (5.5.0) but in the meantime, you can work around this issue by adding a "Scripted (Groovy)" post-function right after the "Create/Clone Issue" post-function, with the following Groovy Script:
transientVars.newIssue.setFieldValue("Remaining Estimate", "6d")
Also, I recommend you always specify a duration string (e.g. "6d") instead of a number, which by the way is supposed to be a number of seconds (or minutes in the Create/Clone Issue post-function, because of a bug that's fixed in the next version of JMWE).
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.