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

[Bug]: The gh issue list used in libraries having --label flag creates a new issue for the same title and different labels. #441

Closed
prudhvigodithi opened this issue Jun 13, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@prudhvigodithi
Copy link
Member

Describe the bug

The gh CLI command gh issue list does not match issues with the same title but different labels. Consequently, if you create an issue with the same title but different labels, a new issue is created. This behavior is observed when using the --label flag with the gh issue list command.

To reproduce

Screenshot 2024-06-12 at 3 09 58 PM

Expected behavior

Even though the issue has different labels, if the title is same during the gh issue list it should skip the issue creation.

Screenshots

If applicable, add screenshots to help explain your problem.

Host / Environment

No response

Additional context

No response

Relevant log output

No response

@peterzhuamazon
Copy link
Member

The runners are using gh client version 2.42.0.

@prudhvigodithi
Copy link
Member Author

[Triage]
Thanks @peterzhuamazon AFAIK we dont need a --label flag here for gh issue list, as the labels can always be updated manually by users and with automation, we dont need to have a hard check on issue with exact label match, as long as the issue exists matching the title that we specified we should be good.
@gaiksaya @getsaurabh02

@prudhvigodithi
Copy link
Member Author

This issue is now resolved as the change has been included in the library release starting from version 6.5.0.
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants