Forums

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

Original estimate also vanished on clearing remaining estimate through post function

Yogesh
Contributor
January 26, 2012

I have a post function that should clear the remaining estimate field on a resolve screen post function. I have used "Update issue field" then selected remaining estimate and value is set to "0m"

1. Originaly the issue has got 3 days as original estimate.
2. User logged 1 day today
3. User resolved the issue after adding 5 hours as worklog

Here the expectation was -

1. Original estimate should appear to 3 days.
2. Worklog should appear as - 1 d 5h

In reality - the worklog is appearing correctly and Original estimate and remaining estimate are appearing as not specified

1 answer

1 accepted

0 votes
Answer accepted
tier-0 grump
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 28, 2012

Yogesh

Just looked through the code, nd we have a bug here, however there is an easy workaround. We changed the timetracking in 4.x to have the duration be parsed, so you could specify 4m, 4d or 4w - we didn't reflect this in the update issue field post function. We only parse numeric values in this function and everything else just silently fails, so to make this work just change your set value to 0, and it should work exactly as expected.

Yogesh
Contributor
January 28, 2012

James Thanks a lot for the response. I already did the same. I have put in 0m but it wont work as expected.

UNFORTUNATELY: Before reporting this query in this forum, I already attempted that also. I guess we have to keep Legacy Mode Switchedd Off then only it would work as expected.

Can you please confirm if the situation remains same for JIRA 4.4.4 too?

tier-0 grump
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 28, 2012

Yogesh it's still the same in 5.0 - I'll raise a bug for it

Yogesh
Contributor
January 28, 2012

Thanks James.

tier-0 grump
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 28, 2012

I should look through the code more carefully :-)

We fixed this in JIRA 4.4.4, see https://jira.atlassian.com/browse/JRA-25558

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events