-
Notifications
You must be signed in to change notification settings - Fork 14
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
jira_user
only listing first 50 entries
#49
Comments
jira_user
only listing 50 entriesjira_user
only listing first 50 entries
@LalitTurbot If this table has a pagination issue, do others have the same issue as well? |
@cbruno10 will verify other tables too for paging while working on fix for it |
@LalitTurbot Thanks for looking into this issue earlier today. Based on our initial findings, there appear to be 2 blockers:
For the first issue, it seems like pagination isn't available for users in the Jira API. For instance, when attempting to get users from the API using
The API returns the response:
This response is different from other APIs' responses in that it doesn't contain expected fields like
These are the fields that allow us to implement paging client side, but unfortunately missing when listing users. This was mentioned in JRASERVER-65089. For the second issue, we can use the |
For the record, I'm on Jira Cloud (and that JRASERVER-65089 bug is for Jira Server). Probably not helpful, but thought I'd mention it. |
Describe the bug
When running SELECT * from jira.jira_user WHERE active = true, I get 2 users. There should be like 115.
As additional context:
When I query the table, it only contains about 50 entries. A quick eyeball of the entries indicates that the only 2 that have "active" set to true are the same two that showed up when I ran the above query
My assumption:
Jira uses a paged list
Each of those jira_user tables is a different page in the list
When I run the SQL query, it only queries the first page in the list
Now my question: what can be done about it?
Steampipe version (
steampipe -v
)Example: v0.13.6
Plugin version (
steampipe plugin list
)Example: v0.0.2
To reproduce
Steps to reproduce the behavior (please include relevant code and/or commands).
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: