The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to conditionally hide Pull Request Overview Web Panel?

Amit Rathi
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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.

TAGS
AUG Leaders

Atlassian Community Events