Skip to content

Commit

Permalink
print whole json
Browse files Browse the repository at this point in the history
  • Loading branch information
matejdro committed Nov 9, 2023
1 parent 82db42c commit fb2ae9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/src/jira.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ export async function queryJiraTickets(jira: JiraApi): Promise<JiraTicket[]> {
core.info(`JQL: "${jql}"`)
do {
// @ts-ignore
response = (await jira.searchJira(jql, { startAt: tickets.length, validateQuery: "warn" })) as SearchResponse
var jsonResponse = await jira.searchJira(jql, {startAt: tickets.length, validateQuery: "warn"});
core.info(`Total Json: "${JSON.stringify(jsonResponse)}"`)
response = jsonResponse as SearchResponse
tickets.push(...response.issues)
} while (tickets.length < response.total)

Expand Down

0 comments on commit fb2ae9f

Please sign in to comment.