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

Empty result for jira_issue_comment with id filters #137

Closed
dcdamien opened this issue Sep 2, 2024 · 0 comments · Fixed by #138
Closed

Empty result for jira_issue_comment with id filters #137

dcdamien opened this issue Sep 2, 2024 · 0 comments · Fixed by #138
Assignees
Labels
bug Something isn't working

Comments

@dcdamien
Copy link

dcdamien commented Sep 2, 2024

Describe the bug

I'm not able to get any comment by id or issue_id but referring to, for example, login_id works.

Steampipe version (steampipe -v)

Steampipe v0.23.3

Plugin version (steampipe plugin list)

+---------------------------------------------+---------+-------------+
| Installed                                   | Version | Connections |
+---------------------------------------------+---------+-------------+
| hub.steampipe.io/plugins/turbot/jira@latest | 0.15.0  | jira        |
+---------------------------------------------+---------+-------------+

To reproduce

  1. Find some random comment:
> select * from jira_issue_comment limit 1;
+--------------------------+--------+----------+----------------------------------------------------------------------+---------------+---------------------------+------------------------>
| login_id                 | id     | issue_id | self                                                                 | body          | created                   | updated                >
+--------------------------+--------+----------+----------------------------------------------------------------------+---------------+---------------------------+------------------------>
| 5dee8dbc15a4b90e93bf896f | 200540 | 58412    | https://xxx.atlassian.net/rest/api/2/issue/58412/comment/200540 | h3. 1/07/2024 | 2024-08-29T21:46:17+02:00 | 2024-08-29T21:46:17+02:>
+--------------------------+--------+----------+----------------------------------------------------------------------+---------------+---------------------------+------------------------>
  1. Try to find it by id or issue_id
> select * from jira_issue_comment where issue_id = '58412';
+----------+----+----------+------+------+---------+---------+------------+--------+---------------+-------+--------------------+--------+------+
| login_id | id | issue_id | self | body | created | updated | jsd_public | author | update_author | title | sp_connection_name | sp_ctx | _ctx |
+----------+----+----------+------+------+---------+---------+------------+--------+---------------+-------+--------------------+--------+------+
+----------+----+----------+------+------+---------+---------+------------+--------+---------------+-------+--------------------+--------+------+
> select * from jira_issue_comment where id = '200540';
+----------+----+----------+------+------+---------+---------+------------+--------+---------------+-------+--------------------+--------+------+
| login_id | id | issue_id | self | body | created | updated | jsd_public | author | update_author | title | sp_connection_name | sp_ctx | _ctx |
+----------+----+----------+------+------+---------+---------+------------+--------+---------------+-------+--------------------+--------+------+
+----------+----+----------+------+------+---------+---------+------------+--------+---------------+-------+--------------------+--------+------+

Expected behavior
It should return comments by their ID or originating issue ID.

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 a pull request may close this issue.

2 participants