- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
01-22-2021 05:37 AM
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:
But I need in a next Task some info, where I do see in the Results.
Example:
How do I search some Text in the field description?
thanks
roger
01-25-2021 02:04 AM
Could you try and remove the "root" from the output:
johndoe=issues.fields.customfield_10602
01-22-2021 09:33 AM
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
01-25-2021 02:01 AM
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
01-25-2021 02:04 AM
Could you try and remove the "root" from the output:
johndoe=issues.fields.customfield_10602
01-25-2021 02:11 AM
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
01-25-2021 04:50 AM - edited 01-25-2021 04:59 AM
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
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!