Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I remove a story's estimate? #119

Open
jasonnoble opened this issue Dec 8, 2017 · 1 comment
Open

How do I remove a story's estimate? #119

jasonnoble opened this issue Dec 8, 2017 · 1 comment

Comments

@jasonnoble
Copy link

Steps to reproduce:

story = project.create_story(name: 'Some story name')
story.estimate = 3.0
story.save
story.estimate      # => 3.0
story.estimate = nil
story.save
story.estimate      # => 3.0

I think the issue is:

https://gist.github.com/jasonnoble/80e618cf39874d26bdae884b4e79b33f#file-gistfile1-txt-L43 (works to set estimate to 3.0)

vs

https://gist.github.com/jasonnoble/80e618cf39874d26bdae884b4e79b33f#file-gistfile1-txt-L78 (does not include the request to set estimate to nil)

@forest
Copy link
Contributor

forest commented Feb 13, 2018

Did you try setting it to 0? I think there is an issue with the dirty tracking that doesn't handle nil correctly. This is just a guess. I need to investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants