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

Display more than 1 Project widget on a web page.

Mark I'm New Here Jun 18, 2021

Hi,

We have an instance where we would like to embed more than 1 project widget into our Intranet page.  How can we separate the widget's so the user can choose the correct one instead of them overlapping one another.

I have seen some code to re-align a single widget, but nothing regarding embedding more than 1 widget on the same page.

Thanks

1 answer

0 votes

Hello Mark,

Welcome to Atlassian Community!

On Jira Service Management, it’s possible to create a widget per project, so in case you need to add two widgets, the only workaround is to modify the CSS, so you can change the position of the widget button.

Currently, it’s not possible to modify the location of the widget directly on its settings. There is a feature request suggesting this option:

There is also a suggestion to navigate between projects on the widget:

Workaround to change the position of the widget:

Please, on the same page where you embedded the code insert the snippet below:

<style>

iframe[name='JSD widget'] {

margin-bottom: 100px;

}

</style>

Also, you can increase the value of property _margin-bottom_ to give you some more space if necessary.

Kind regards,
Angélica

Mark I'm New Here Jun 22, 2021

Thank you Angelica,

Correct, I have created a widget for each project.

I note that the script code has a unique identifier for each widget.

However, when I embed the script code for each widget into a web page only 1 widget is visible as they both have the "name" JSD widget... I tried to use a style to offset one from the other and opened the debug window in FF, but it appears as if only 1 of the widgets is loading.

Am I missing something??

Thank you for testing, Mark.

We tried to replicate the issue here and both widgets are displayed but then another issue happens, the request form that shows is exactly the same for both.

Even though the widgets are from different projects and have different request forms, the fields that will show when opening the widgets will be the same.

widget.png

Based on that, I created a bug so our dev team can be aware of the issue:

With this said, the workaround I suggested won’t be useful because of the bug, I’m sorry for the inconvenience.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

Atlympic Event: Jira Service Managemnt

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! ...

94 views 0 1
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