assign-one-project-github-action icon indicating copy to clipboard operation
assign-one-project-github-action copied to clipboard

Does this work with Github Issues Beta?

Open matthewmayer opened this issue 2 years ago • 8 comments

https://docs.github.com/en/issues/trying-out-the-new-projects-experience/about-projects

matthewmayer avatar Oct 14 '21 14:10 matthewmayer

Not sure, has anyone tried it?

srggrs avatar Oct 31 '21 23:10 srggrs

We tried it with a beta project, and unfortunately it failed. From looking at the GH docs, it appears that beta projects require use of the GraphQL API instead of the REST one.

rsioss avatar Nov 02 '21 21:11 rsioss

I wanted to do the same and in case you need it, I end up using this: https://github.com/leonsteinhaeuser/project-beta-automations

mustafaozhan avatar Nov 03 '21 08:11 mustafaozhan

Ahh, that looked promising, but it looks like it only supports updating the issue status (doesn't appear to support moving issues to a particular column on the beta project board, which is what we wanted to do).

rsioss avatar Nov 03 '21 14:11 rsioss

as far as i know, the beta project boards currently only support having columns as the different issue statuses

matthewmayer avatar Nov 04 '21 06:11 matthewmayer

it appears that I was too hasty to dismiss the beta action in that case... I mistakenly jumped to the conclusion that status and column were different attributes. I'll give it a shot, thanks for following up!

rsioss avatar Nov 04 '21 13:11 rsioss

Doesn't seem to recognise the GH projects beta because they are within a user or organisation and not in a repo. Do you think this is something you could support?

nicole-obrien avatar Jan 05 '22 16:01 nicole-obrien

Doesn't seem to recognise the GH projects beta because they are within a user or organisation and not in a repo. Do you think this is something you could support?

As suggested higher up in this thread I'd suggest trying https://github.com/leonsteinhaeuser/project-beta-automations instead

The code is fairly easy to modify for your needs for example I made a version which removes an issue from a project board too https://github.com/matthewmayer/project-beta-remove

matthewmayer avatar Jan 05 '22 18:01 matthewmayer