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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Custom Coloured UI Header Panel (Caption: "External User") Shown when New SPACE viewed.

Custom Coloured UI Header Panel (Caption: "External User") Shown when New SPACE viewed.

Hi Community

Please can any one advise a way to show a Custom UI Header Web Panel, when a Space is being viewed.

I have looked at a Scriptrunner Fragments script, but do not have the Sapce ID Context with a Header Panel location.

The script is looking at User Groups & Space permissions to determine  what UI panel to show.

I had a quick look add Script Runner Events & Custom HTML with no real solution.

CSS Style Sheet condition with a Space ID Context?

Best Regards

IT Support.

 

1 answer

1 accepted

0 votes
Answer accepted

Confluence; Server; Scriptrunner; Fragments; Context Space: Works as Expected.

CONDITION:

import com.atlassian.confluence.spaces.Space

def space = context.space as Space

(space.key in ["TEST"])

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Confluence

🏑 Atlympic Event: Confluence

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

491 views 18 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you