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

Escape special characters in string for JQL query #5

Merged
merged 7 commits into from
Apr 7, 2021
Merged

Escape special characters in string for JQL query #5

merged 7 commits into from
Apr 7, 2021

Conversation

JasperCraeghs
Copy link
Member

Escape special characters in string for JQL query to avoid unwanted behavior that these characters may trigger.

For example, the special character ? gets treated as a single character wildcard in the JQL query used by the plugin and should be escaped to avoid duplication of JIRA tickets.

project = example AND summary ~ 'Example caption?'

becomes

project = example AND summary ~ 'Example caption\\?'

Bug reported by @kravchenkoloznia.

@JasperCraeghs JasperCraeghs added the bug Something isn't working label Apr 7, 2021
@Letme Letme merged commit fbb4a75 into master Apr 7, 2021
@Letme Letme deleted the jql branch April 7, 2021 18:39
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
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants