Forums

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

Empty payload on version release automation rule request

Slava Vasenin December 10, 2020

Hi,

I need to request my webserver when version release is released.

I set an automation rule.

When: Version released

Then: Send a web request

In web request settings I set Webhook body => Issue data

When I try to validate it, the request has a payload. But when I release version by clicking the release button, the payload is empty.

 

What actually I need is release id or key to get information about it, but I can get only name of the release as a query attribute in request URL.

Any ideas?

2 answers

2 accepted

1 vote
Answer accepted
Hana Kučerová
Community Champion
December 10, 2020

Hi @Slava Vasenin ,

I was able to get name and id of the release using this configuration:

  • Webhook body: Custom data
  • Custom data: {"id": "{{version.id}}", "name":"{{version.name}}"}
Slava Vasenin December 10, 2020

That works. Thanks :)

1 vote
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 10, 2020

Hi @Slava Vasenin 

Is what you need on Version Release the {{version.id}} value?

Best regards,
Bill

Slava Vasenin December 10, 2020

Yes exactly. Thanks :)

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