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

0 votes
Andrei Bacanu November 25, 2022

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

0 votes
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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

Suggest an answer

Log in or Sign up to answer