Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JMWE Create / Clone Issue - Remaining Estimate not populating

c7788 May 3, 2018

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. 

 

 

1 answer

0 votes
David Fischer
Community Champion
May 7, 2018

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).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events