Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to pass parameters through webhook

Nasreen Bano June 2, 2016

Hi Everyone,

I wanted to know how do I pass arguments dynamically from JIRA via webhook to my rest api.

For example: I wanted to receive defectid and the new comment which has been updated.

Looking forward to your suggestions.

Thanks

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Jason Friedman
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.
July 1, 2016

You can include, for example, the issue key in the URL:

url.png

Also, you can uncheck this box to have the JSON representation of the issue included in the response body:

data_included.png

Mahesh Pawar January 31, 2019

Hi @Jason Friedman ,

i tried the same using,

http://yourusername:yourpasswd@bamboo-host:8085/rest/api/latest/queue/PLAN-KEY?os_authType=basic&myid={$issue.key}&pid=${project.id}

But the values[echo ${myid}, ] while printing in bamboo is coming empty.

any suggestions?

TAGS
AUG Leaders

Atlassian Community Events