Forums

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

Bitbucket PR Card based on output of PHP command

Radu Cristescu October 16, 2025

Hi

I have a use case where I'd like to run a PHP command in the repository for Pull Requests, and put the output in a card in the Overview tab.

Specifically, I want to show the output of this composer diff tool if there are changes to the composer.lock file.

Since Forge is JS-based, is that possible at all, or should I just resign myself to running that command as a pipeline step and tell people to not forget to look there?

I would also accept a way to add that output to the PR description text.

1 comment

Comment

Log in or Sign up to comment
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 16, 2025

Hello @Radu Cristescu,

Forge is indeed JS-only if you want your app to be run on Atlassian, however there's also Forge Remote which allows you to implement the logic you want using any stack of your choice and integrate it with a Forge app. This comes at the cost of needing to host the remote part of this integration on some platform that you control.

Hope this helps.

Cheers,
Daniil

TAGS
AUG Leaders

Atlassian Community Events