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

fix: case insensitive sub-task comparison #793

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tiemma
Copy link

@tiemma tiemma commented Nov 5, 2024

Within my cloud installation, the jira init command pulls the handle and name just fine but my administrator configured the name as "Sub-task" and the handle as "Sub-Task" which fails the equal check and causes failures with the parent key assignment.

- id: "10093"
  name: Sub-task
  handle: Sub-Task
  subtask: true

This PR addresses this by using an EqualFold so case insensitive matching is done for the issue type check.

Within my cloud installation, the jira init command pulls the handle and name just fine but my administrator configured the name as "Sub-task" and the handle as "Sub-Task" which fails the equal check and causes failures with the parent key assignment. This PR addresses this by using an EqualFold so case insensitive matching is done for the issue type check.
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.

1 participant