Answers.Body: <p>Do you have a profile defined that has case status in it? Possibly somebody did a case search and then chose Update Multiple Cases from the actions dropdown. A test on dmaster.demo shows this doesn't update the end date automatically or file a change case status activity on the case.</p>
  
  <p>You could also change the status without the end date from the api explorer, but I doubt your users did that.</p>
  
  <p>Another possibility is you have no case status defined that has "Status Class" set to 'Closed'. Under Administer - CiviCase - Case Statuses. In the database this is the grouping field in the civicrm_option_value table.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-24T10:12:07.630Z
Answers.Text: Just checked. No case profiles in use. And no access to api for users.
  
  Thanks for the suggestions though.
Answers.UserDisplayName: Craig Almond
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-24T16:03:36.197Z
Answers.Text: Added another answer, which maybe jives with your comment that re-saving the activity does nothing.
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-23T16:44:02.790Z
Answers.LastActivityDate: 2019-05-24T16:02:22.667Z
Answers.LastEditDate: 2019-05-24T16:02:22.667Z
Answers.UserDisplayName: Demerit
Answers.Body: <p>I think if you resave the status it will update the case end date. On Manage case screen click on pencil icon just next to 'Status: Resolved'. Save the form without doing any changes.(Please check the activity date time field under Activity Details  if it has correct date).</p>
  
  <p>Cheers</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-24T10:08:25.920Z
Answers.Text: Hi Pradeep,
  
  I tried that didn't make any difference.
  
  Craig
Answers.UserDisplayName: Craig Almond
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-23T16:35:20.867Z
Answers.LastActivityDate: 2019-05-23T16:35:20.867Z
Answers.UserDisplayName: Pradeep Nayak
Answers.Body: <p>The case end date can be reset by clicking the pencil icon on case status. As Pradeep says re-save the Case Status change activity leaving the case status as Closed (creates a new change case status activity) But before you do that open the Activity detail section and change the date of the activity to the new Case End date required. </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-19T17:22:45.420Z
Answers.Text: Thanks Olly, I posted this so long ago I can't even remember which site was causing the problem.
Answers.UserDisplayName: Craig Almond
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-18T10:52:11.873Z
Answers.LastActivityDate: 2019-12-18T10:52:11.873Z
Answers.UserDisplayName: Oliver Gibson
Body: <p>I've just found this on one site. I have some (not all) cases of a given case type. There case status is set to a "closed" status. But the case does not have an end date.</p>
  
  <p>I cannot find a way to update the case end date from the manage case screen.</p>
  
  <p>This seems to effect cases where status was changed between July 17 and October 18
  Cases amended before and since have an end date recorded</p>
  
  <p>Cases with other closed statusses all have end dates as expected.</p>
  
  <p>I guess I can find the related case status change activities, and then manually adjust the case end dates from cpanel (only a dozen or so cases affected).</p>
  
  <p>Just left scratching my head, is all.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-05-23T16:28:17.463Z
Comments.Text: How about trying to resave the case activity? i.e edit the case activity and saving it?
Comments.UserDisplayName: Pradeep Nayak
Tags: <civicase>
Title: How is case end date set?
ThreadText: # How is case end date set?
  
  (Asked by: username_0 on 2019-05-23)
  
  I've just found this on one site. I have some (not all) cases of a given case type. There case status is set to a "closed" status. But the case does not have an end date.
  
  I cannot find a way to update the case end date from the manage case screen.
  
  This seems to effect cases where status was changed between July 17 and October 18
  Cases amended before and since have an end date recorded
  
  Cases with other closed statusses all have end dates as expected.
  
  I guess I can find the related case status change activities, and then manually adjust the case end dates from cpanel (only a dozen or so cases affected).
  
  Just left scratching my head, is all.
  
  **Tags:** civicase
  
  > **Comments:**
  > **username_1**: How about trying to resave the case activity? i.e edit the case activity and saving it?  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_2 on 2019-05-23. Score: 2 | Accepted answer
  
  Do you have a profile defined that has case status in it? Possibly somebody did a case search and then chose Update Multiple Cases from the actions dropdown. A test on dmaster.demo shows this doesn't update the end date automatically or file a change case status activity on the case.
  
  You could also change the status without the end date from the api explorer, but I doubt your users did that.
  
  Another possibility is you have no case status defined that has "Status Class" set to 'Closed'. Under Administer - CiviCase - Case Statuses. In the database this is the grouping field in the civicrm\_option\_value table.
  
  > **Comments:**
  > **username_0**: Just checked. No case profiles in use. And no access to api for users.  Thanks for the suggestions though.  
  > **username_2**: Added another answer, which maybe jives with your comment that re-saving the activity does nothing.  
  
  ---
  
  ### Answer by username_1 on 2019-05-23. Score: 2
  
  I think if you resave the status it will update the case end date. On Manage case screen click on pencil icon just next to 'Status: Resolved'. Save the form without doing any changes.(Please check the activity date time field under Activity Details if it has correct date).
  
  Cheers
  
  username_1
  
  > **Comments:**
  > **username_0**: Hi username_1,  I tried that didn't make any difference.  username_0  
  
  ---
  
  ### Answer by username_3 on 2019-12-18. Score: 1
  
  The case end date can be reset by clicking the pencil icon on case status. As username_1 says re-save the Case Status change activity leaving the case status as Closed (creates a new change case status activity) But before you do that open the Activity detail section and change the date of the activity to the new Case End date required.
  
  > **Comments:**
  > **username_0**: Thanks Olly, I posted this so long ago I can't even remember which site was causing the problem.  
  
  ---
  
  