mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-10 20:35:17 +02:00
update query parmas for get issues by date range method
This commit is contained in:
parent
107f013ff9
commit
521cea3ef0
1 changed files with 4 additions and 4 deletions
|
|
@ -239,9 +239,9 @@ class JiraConnector:
|
|||
)
|
||||
# TODO : This JQL needs some improvement to work as expected
|
||||
|
||||
_jql = f"{date_filter}"
|
||||
jql = f"{date_filter}"
|
||||
if project_key:
|
||||
_jql = (
|
||||
jql = (
|
||||
f'project = "{project_key}" AND {date_filter} ORDER BY created DESC'
|
||||
)
|
||||
|
||||
|
|
@ -262,10 +262,10 @@ class JiraConnector:
|
|||
if include_comments:
|
||||
fields.append("comment")
|
||||
|
||||
print(f"JQL query: {_jql}")
|
||||
print(f"JQL query: {jql}")
|
||||
|
||||
params = {
|
||||
"jql": _jql,
|
||||
"jql": jql,
|
||||
"fields": ",".join(fields),
|
||||
"maxResults": 100,
|
||||
"startAt": 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue