Days Remaining in Sprint Gadget is throwing error "The requested board cannot be viewed because it either does not exist or you do not have permission to view it."
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
Days Remaining in Sprint Gadget is shows error "The requested board cannot be viewed because it either does not exist or you do not have permission to view it."
Environment
Jira Cloud
Diagnosis
The user has required permission to view the issues on the board as well as permission to the dashboard filter.
Checking the browser debug network logs shows the message
message: Field or project configuration not found for custom field id[9223372036854775807] . . . message: SprintHealthResource: GreenHopper REST method failed with SC = 404 - JiraCopiedNotFoundWebException . . message: SprintHealthResource: JiraCopiedRestErrorCollection[errorMessages=[Could not find suitable statistics field with ID 'customfield_9223372036854775807'.],errors={}]
Cause
An invalid field was selected under Board Configuration → Estimation → Estimation Method
Solution
Selecting the correct Estimation Method resolved the issue