Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add project.items.addByContentId and project.items.addByContentRepositoryAndNumber #71

Open
1 of 2 tasks
gr2m opened this issue Aug 15, 2022 · 0 comments
Open
1 of 2 tasks
Labels

Comments

@gr2m
Copy link
Owner

gr2m commented Aug 15, 2022

Please avoid duplicates

What’s missing?

We have project.items.updateByContentRepositoryAndNumber and project.items.removeByContentRepositoryAndNumber, but we do not have a method to add an existing issue or pull request using its repository name and number.

(I'm not sure if using by is grammatically correct English, I'm open to alternative ideas. But the names would be consistent with it's project.items.update* and project.items.remove* counterparts that way.)

This would replace the current project.items.add

Why?

see ☝🏼

Alternatives you tried

manually retrieve an issue/PR object in order to retrieve the node ID, then pass it to project.items.add(nodeId)

Would you be interested in contributing the feature?

  • yes
@gr2m gr2m added the feature label Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant