Improving the Monorepo App Selection UI in Bitbucket Pipeline

고 동하
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!
December 30, 2024

I want to receive multiple options as parameters in Bitbucket Pipeline.
When using a monorepo, it would be great if I could have an input field to select from the apps I specify.
For example, it would be ideal if I could select the desired app, branch, and environment.
However, currently, only an input box is supported, not a select box.

This is the UI, and I would like to receive it as variables.

p_1.png

Is there a way to solve this?

2 answers

1 accepted

0 votes
Answer accepted
고 동하
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!
January 1, 2025

Hi @Ben ,

I solved the issue using the "variables > allowed-values" attribute.
It wasn’t in the documentation, so I didn’t know about it until I saw it in the community.

Since I’m using a monorepo, I wanted to be able to select and deploy a specific app from the repository. I also added the environment variables to the Pipeline selection process for better flexibility.

p_1.png

Thanks Ben!

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 1, 2025

Hi @고 동하 

I'm trying to understand your request - when you state "desired app" are you referring to being able to select a custom deployment environment from a dropdown?

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events