Closed andreasabel closed 1 year ago
For issues, get field state_reason to distinguish issues closed as not_planned. This amounts to a new enum type IssueStateReason and a new field in Issue which should be parsed here: https://github.com/haskell-github/github/blob/f63f92c46b3980d06c87959009af21628d06e8a2/src/GitHub/Data/Issues.hs#L186-L205
state_reason
not_planned
IssueStateReason
Issue
According to https://docs.github.com/en/rest/issues/issues?apiVersion=2022-11-28#get-an-issue the possible values are
completed
reopened
For issues, get field
state_reason
to distinguish issues closed asnot_planned
. This amounts to a new enum typeIssueStateReason
and a new field inIssue
which should be parsed here: https://github.com/haskell-github/github/blob/f63f92c46b3980d06c87959009af21628d06e8a2/src/GitHub/Data/Issues.hs#L186-L205According to https://docs.github.com/en/rest/issues/issues?apiVersion=2022-11-28#get-an-issue the possible values are
completed
not_planned
reopened