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

Set value of labels in lower case #469

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jtprogru
Copy link

Greetings, please consider this PR. I encountered an unexpected behavior - values of any labels are passed in the case in which they were written. However, on the API side there is validation (regex: /[-_./@0-9a-z]*/), which prohibits the use of upper case.

If I understand your codebase correctly, the fix for this is very simple.

I'm sure this PR will be useful for everyone who uses task id from their task trackers in labels, because the most popular ones (Jira/YouTrack/Yandex Tracker) use uppercase as a key.

@axozoid
Copy link

axozoid commented Oct 28, 2024

it would be really helpful indeed. Hope the dev team could find some time to review the PR.

yandex/structures.go Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants