not able to retrieve Extend Context Output

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Palo Alto Networks Approved
Palo Alto Networks Approved
Community Expert Verified
Community Expert Verified

not able to retrieve Extend Context Output

L1 Bithead

Hi Team, 

 

I'm trying to get the output field which I want in "jira-issue-query" command. But I couldn't be able to get it. 

Below are the default outputs for Jira Issue. Now I want only one particular Field as an output.

Keerthigav_0-1675825392522.png

So I used Extend Context field to get the desired output (in this case, I want only the "ID" field as an ouput)

But, I'm not getting the output. 

is there any other way to use the extend Context field to get the desired output?

Keerthigav_1-1675825630484.png

is my query correct? (Existingticket=attributes.Id)

I Tried below options as well. But, it didn't work.

Existingticket=data.Id

Existingticket=result.Id

Existingticket=field.Id

Please help. 

 

Thanks,

Keerthi

 

1 accepted solution

Accepted Solutions

L3 Networker

Hi @Keerthigav – To see the data that extend-context has to work with, run the command with arg raw-response=true as discussed here: https://xsoar.pan.dev/docs/playbooks/playbooks-extend-context

 

Based on the raw-response data, I think this is the extend-context value you want:

ExistingTicket=issues.id

View solution in original post

4 REPLIES 4

Community Team Member

Hi @Keerthigav ,

 

Can you try using val.Id ?

 

Kind regards,

-Kiwi.

 
LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

L1 Bithead

Hi @kiwi ! 

Thanks for your reply.

I tried val.Id. But it didn't work. I tried with below options as well. But still no luck. 

Existingticket=value.Id

Existingticket=arg.Id

Existingticket=arguments.Id

 

Is there any other way?

L3 Networker

Hi @Keerthigav – To see the data that extend-context has to work with, run the command with arg raw-response=true as discussed here: https://xsoar.pan.dev/docs/playbooks/playbooks-extend-context

 

Based on the raw-response data, I think this is the extend-context value you want:

ExistingTicket=issues.id

L1 Bithead

OMG! Thank you so much @asawyer. This works. 

I've been working for hours to get that done. Now, with the help of your's, I can finally be able to finish it. 

Thanks a lot! 

 

Cheers,

Keerthi

  • 1 accepted solution
  • 2296 Views
  • 4 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!