Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,193
Community Members
 
Community Events
168
Community Groups

Special characters in JQL

Hello Team ..We have a project name like this 'my project's'

when I pass JQL to jira instance like this

results = jira_instance.JQL("project in (\"my project's\")" ..it's working but when I combine with other conditions like 

results = jira_instance.JQL("project in (\"my project's\")" and feature ='Test' it's giving me the error at 's ..can any suggest how to pass special characters in JQL.

I'm using this in python

Error : Excepting , but got s 

 

Thanks in advance.

 

 

1 answer

0 votes

Hello @Jack 

I have not worked with the python interface before, but I would suspect that the double-quotes after the closing parentheses and the lack of a closing parentheses to encapsulate the entire parameter might cause a problem in the example that does not work. 

Try this:

results = jira_instance.JQL("project in (\"my project's\") and feature ='Test'")

Suggest an answer

Log in or Sign up to answer