Forums

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

Automation : How retrieve data in "Send web request"

Mélanie Liguet
Contributor
October 4, 2022

Hi, 

 

On jira cloud, i use automation.

I send web request to get information of worklog (we use tempo timesheet plugin)

I need to retrieve the worklogid to use it in next step of automation.

I try with a smart value {webhookResponse.body.tempoWorklogId}} but it is empty

when i use smart value {webhookResponse.body}}, it is not empty but how retrieve and use tempoWorklogId only ?

image (21).png

2 answers

1 accepted

1 vote
Answer accepted
Stefan Salzl
Community Champion
October 4, 2022

Hi @Mélanie Liguet ,

I would consider myself a novice on API and I‘m not familiar with the tempo timesheet api. Just did a research in the api docu.

according to the following link:

https://apidocs.tempo.io/v4/#tag/Worklogs

 

try to use 

{{webResponse.body.results.tempoWorklogId}}

 

Best
Stefan

Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 6, 2022

Hi @Mélanie Liguet,

If this doesn't work, if you can provide an example of the output (maybe sanitise anything sensitive) then we can help figure out what the smart value should be.

Cheers,

Simeon. 

Like Stefan Salzl likes this
1 vote
Mélanie Liguet
Contributor
October 7, 2022

that's work with smart value

in my case it is {{webhookResponse.body.results.tempoWorklogId}} and i can use it une next step of automation

thank

Stefan Salzl
Community Champion
October 7, 2022

@Mélanie Liguet 

awesome 🎉 great to know it‘s working. Thanks for the reply.

Suggest an answer

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

Atlassian Community Events