Forums

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

How do I define the Webhook to pass issue.summary and issue.id

gashby
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 5, 2019

https://userstory/services/apexrest/UserStory

the JSON needs to look like this

{

  "summary":"Download Files",

  "id": "01001" 

}

 

where summary is $issue.summary and id is $issue.id 

 

1 answer

0 votes
Yury Lubanets
Contributor
August 5, 2019

Hello

You can configure webhook to listen to Jira Events or adding it to a transition.

If you want webhook to send JSON body you need uncheck Exclude body field in Webhook configurations. But you cannot define JSON by yourself. Look at the article where JSON schema is present.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events