Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to conditionally hide Pull Request Overview Web Panel?

Amit Rathi September 30, 2021

We're building a Bitbucket Connect App add-on. It shows an overview message on a PR page if the PR contains Jupyter Notebook changes. See Screenshot below.

 

Screenshot 2021-09-29 at 6.56.40 PM.png

 

We'd like to hide this overview panel completely if the PR does not have any Jupyter notebook changes. I've looked at Conditions but there doesn't seem to be anything to match file names in PR.

I've also tried returning an empty iFrame but that still shows empty whitespace in the UI.

Am I missing something? Is there a way to hide the overview message when not required?

1 answer

0 votes
seanaty
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 30, 2021

You're not missing anything. You can't specify filenames as conditions for this web. Empty iframe won't work either because the title will still always show up.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events