Forums

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

Automation - PULL Request information on slack

Fabricio Nascimento September 2, 2025

Hi Everyone,

 

I am trying to create an automation so that when a card is moved to Code Review, I notify a message on SLACK channel with the link to the Issue and the link to the PR.

The link to the Issue is being sent correctly, but the one for the PR comes empty even though it exists. Does anyone know what might be wrong? See the image.

Message ( IN Portuguese )

👤 *{{issue.assignee.displayName}}* enviou uma atividade para Code Review.
Se alguém puder realizar a code review desse card, o time agradece! 🙏

đź”— <{{issue.url}}|Abrir no Jira>
đź”—<{{issue.development.pullRequests.first.url}}|Abrir Pull Request>

 

The problema is here:

đź”—<{{issue.development.pullRequests.first.url}}|Abrir Pull Request>

Captura de tela 2025-09-02 164039.png

1 answer

1 accepted

0 votes
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.
September 2, 2025

Hi @Fabricio Nascimento 

Some of the development smart values, such as pullRequest, are only provided to rules when their specific triggers are used:

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

I believe the workarounds are to save the PR data somewhere in the work item (e.g., a custom field) when a PR-related trigger happens or to use the REST API endpoints to get the data, calling them with the Send Web Request action.

 

Kind regards,
Bill

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