Enhanced Security Measures in Place:   To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.

jira-issue-query (jira-v2) dosen't show all info in output

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

jira-issue-query (jira-v2) dosen't show all info in output

L3 Networker

Hallo Community

 

My Jira request dosn't show all Info in the output but there is everything in Results.

Example: In the output I do see:

Spoiler
Ticket
[
{
"Assignee": "aaa",
"Creator": "bbb",
"Id": "12345",
"Key": "ccc-123",
"Status": "Open",
"Summary": "ddd"
}

But I need in a next Task some info, where I do see in the Results.

Example:

Spoiler
assignee
created
creator
description
duedate
id
issueType
key
labels
priority
project
reporter
status
summary
ticket_link

How do I search some Text in the field description?

 

thanks

roger

1 accepted solution

Accepted Solutions

Could you try and remove the "root" from the output:

johndoe=issues.fields.customfield_10602

View solution in original post

5 REPLIES 5

L2 Linker

Hi Roger

 

You can run the command with `extend-context` common argument (https://xsoar.pan.dev/docs/playbooks/playbooks-extend-context#extending-context) to get more information populated to the context to be used later in the playbook

 

Thanks

Ori

Hello Ori

 

Thank you for your response.

I still struggeling to get my output.

If I grab the output with raw-response="true" I do see the output I need.

Then enter it to the Extend context as "johndoe=root.issues.fields.customfield_10602"

But don't see it in the output...

Do you have any hints about?

 

thanks

roger

 

Could you try and remove the "root" from the output:

johndoe=issues.fields.customfield_10602

Hello ABurt

 

Thank you for your reply.

I tried it, but see it only in the "Input" as "extend-context" but don't see it in Output nor Results (also with view full table)

 

regards

roger

Hello all

 

It's my fault, I was expecting the result in the Results.

As I could not found it there, I was looking into the outputs from Jira (Ticket.johndoe or so)

But the outcome of the extend context is a seperate output. I saw it after looking for a keyword in context-data...

 

My request in Jira:

!jira-issue-query query="ID = <tickett-ID>" raw-response="true"

I would like to see here "root.issues.0.fields.creator.timeZone"

Extend Context is:

Ticket_Details=issues.fields

to get that timeZone you need to ask in the next Task:

Ticket_Details.creator.timeZone

 

Thanks all for help!

roger

  • 1 accepted solution
  • 3917 Views
  • 5 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!