The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Is there smart value for pull request description?

Wojtek Pilwinski
February 14, 2022

Hello

I found very useful smart values for pull requests, like:

{{pullRequest.title}}

or

{{pullRequest.state}}

 

But I can't find the smart value for pull request description.

What I want to do is to create automation which send e-mail to reporter when new pull request is created and in the message I want to quote the pull request description.

I also would like to send email when pull request is declined, and also want to quote in that mail the "declined" comment.

 

Is there any way to do such things?

 

For any help great thanks in advance,

Best Regards

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Andrei Bacanu
Contributor
November 25, 2022

You might want to look at {{webhookData.pull_request.body}}

0 votes
Pramodh M
Community Champion
February 14, 2022

@Wojtek Pilwinski 

These are only available smart values

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-development/

If you need description, save the webhook and run the Automation to get the JSON response which will include the description and everything related to PR

Thanks,

Pramodh