Is there a way to close a GitHub issue as Not planned by using the GitHub node?
I’ve been playing a little bit with GitHub node and there is no ‘Close’ action per se, but there is an ‘Edit’ action that then can be configured to edit the State of a GitHub issue, from Open to Closed and viceversa.
@RamJ , you can use HTTP Request node following the GitHub API documentation. By default, the issue will be closed as “completed”. To set it as “not planned” you need to add an additional property to the body, namely state_reason, with PATCH request.
Thanks @ihortom . Indeed, I just used an HTTP request block as per your suggestion and it is working great. I guess it would be cleaner to have it in the GitHub node, but until that is supported at least we can have the same functionality this way.