JQL search on `jira_issue` table is case sensitive while the JIRA API is not
ashubham opened this issue · comments
Describe the bug
When I do this query:
select * from jira_issue where status='Open' limit 10
it works.
But when I do:
select * from jira_issue where status='open' limit 10
it returns 0 results.
The lower case open
should still return the same results as JIRA JQL is case insensitive. I tried it by calling
the rest/api/2/search
JIRA api directly and it works as expected, but not via steampipe.
Steampipe version (steampipe -v
)
v0.20.9
Plugin version (steampipe plugin list
)
v0.10.1
To reproduce
Do a lower case search on any JIRA field:
select * from jira_issue where status='open' limit 10
for example, to see 0 results.
Expected behavior
The above query should return results including open tickets.
@ashubham, I appreciate your engagement with Steampipe and for bringing this matter to our attention. In response to the issue, we have submitted a preliminary Pull Request to address it. Would you be able to assist us by testing this PR? You can do so by checking out the issue-85
branch.
Here's how you can test the code changes:
- Clone the repository:
git clone https://github.com/turbot/steampipe-plugin-jira.git
- Navigate to the
steampipe-plugin-jira
directory:cd steampipe-plugin-jira
- Checkout to branch
git checkout issue-85
- Run the
make
command. - Proceed to run your query.
We would greatly appreciate it if you could provide us with your feedback based on your testing experience.
Thank you!
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.