Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to query the received web response in automation for jira?

Sid June 29, 2021 edited

Hello,

We are trying some automations where we want to capture only objects with certain key pair values retrieved by the web response.

I know we can access the values but what about querying?

For the below webResponse, we would only want to capture the active server ids and their statuses on a field (the actual response would be huge, of course).

[
  {
    "server_id": "1",
    "status": "ACTIVE"
},
{
"server_id": "2",
"status": "INACTIVE"
},
{
"server_id": "3",
"status": "INACTIVE"
},
{
"server_id": "4",
"status": "ACTIVE"
}
]

Any help would be highly appreciated.

Thanks

2 answers

0 votes
David Croenne September 3, 2021 edited

Hello Bney, could you find a solution?

We've got the same need, and I'm fighting with smart values to send a readable email with only some fields of the json webResponse.

0 votes
Sid June 30, 2021 edited

Dont want to be invasive but I think you are the person best suited to answer this question :) @andreas 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.15.1
TAGS
atlassian, jira service management, jsm webinar, ai in jsm, opsgenie integration, incident management, virtual agent, atlassian intelligence, ai-powered service desk, it operations, atlassian learning, service management webinar, team '25 recap

What’s new in Jira Service Management 🤔

Discover how Atlassian is revolutionizing service management with cutting-edge solutions for AI-powered support, HR Service Management, or DevOps connectivity.

Register here ⬇️
AUG Leaders

Atlassian Community Events