Forums

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

pull information from webresponse

Nodar Vardiashvili
Contributor
August 2, 2024

Hi, I want to pull information from webresponse. I get big data, but i want to filter it according to ID's.


{actor={avatarUrl=https://**********************************************.at********.png, displayName=Nodar Vardiashvili (ნოდარ ვარდიაშვილი), name=Nodar Vardiashvili (ნოდარ ვარდიაშვილი), key=******************, emailAddress=******************, isDeleted=false}, id=3057535, affectedAttribute=Unit, oldValue=Workplace Unit, newValue=IT UNIT, type=2, created=2024-08-02T14:22:34.457Z, objectId=56******************7}, {actor={******************2FNV-1.png, displayName=Nodar Vardiashvili (ნოდარ ვარდიაშვილი), name=Nodar Vardiashvili (ნოდარ ვარდიაშვილი), key=******************e7a, emailAddress=******************.com, isDeleted=false}, id=3057534, affectedAttribute=Department, oldValue=IT, newValue=IT dep, type=2, created=2024-08-02T14:22:34.451Z, objectId=562857}, {actor={avatarUrl=https:// ******************-1.png, displayName=Nodar Vardiashvili (ნოდარ ვარდიაშვილი), name=Nodar Vardiashvili (ნოდარ ვარდიაშვილი), key=******************7a, emailAddress=n******************t.com, isDeleted=false}, id=3057533, affectedAttribute=Title, oldValue= Support Unit, newValue=IT TITLE, type=2, created=2024-08-02T14:22:34.436Z, objectId=562857}, {actor={avatarUrl=******************NV-1.png, displayName=Nodar Vardiashvili (ნოდარ ვარდიაშვილი), name=Nodar Vardiashvili (ნოდარ ვარდიაშვილი), key=******************, emailAddress=n. ******************.com, isDeleted=false}, id=3037506, affectedAttribute=Unit, oldValue=Workplace Unityyyy, newValue=Workplace Unit, type=2, created=2024-07-31T10:19:18.565Z, objectId=562857}

 

I want to pull request from ID 3057534, i want to know affected product and old and new value/ i am try to use 

 

{{webResponse.body.affectedAttribute.first}}  and it's filter only first affected attribute but second and third one i cannot filter

 

1 answer

0 votes
Aron Gombas _Midori_
Community Champion
August 3, 2024

Just to make sure that the context is clear, you are using the "Send web request" action in an automation rule and you want to filter the JSON returned in the response, right?

Nodar Vardiashvili
Contributor
August 5, 2024

Hi, Yes, 

and in autoamtion i want something like this. if {{webresponse.id}}  equals 3057534   and {{webresponse.affectedAttribute}} equals department     then make actions (add comment or create new task)

Nodar Vardiashvili
Contributor
August 6, 2024

do you know how I can do it ? @Aron Gombas _Midori_ 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events