By Default the “Story Points total” are editable only on a user story level and are not considered for sum up at top level. If you need the Story points entered at task level to be considered for sum up at top level, please select the “Consider issues other than Story” to “Yes” in Agile Tools Settings screen. The “Story points done” are automatically calculated based on the status of the story/task i.e
That is if the status of a story = 'Done'
Story points done = Story points total
Also, once the story is marked 'Done' editing is dis-allowed