Adding jQuery tab on JIRA welcome message


I try to add a simple jQuery code in my JIRA welcome message composed by :

- a little jQuery link and script in the head section of JIRA, put at the end of head-common.jsp

<link rel="stylesheet" href="" />
<script src=""></script>
<script src=""></script>
    $(function() {
        $( "#tabs" ).tabs();

- and on welcome message html editing from admin section :

<div id="tabs">
        <li><a href="#tabs-1">Tab1.</a></li>
        <li><a href="#tabs-2">Tab2.</a></li>
    <div id="tabs-1">
    <div id="tabs-2">

When I'm on welcome message administration page editing, the tabs appears correctly :

But when on index JIRA page, it does not appear :

And I don't know what is blocking, so if you can help me with it ?

Thanks anyway.

2 answers

0 votes
Timothy Chin Community Champion Jan 07, 2013

I would put my thumb that the javascript loading sequence is not correct. You'd be better off creating your own gadget.

If you check the sequence of load using Chrome's Developer Tools, you will notice that your jQuery UI loads last.

I tried to put the script lines at the top of head-common.jsp, now it loads from the first lines of the page. No changes.

Then you can check directly :

With no account, welcome pane appears.

I'll be glad to make a gadget but I must revise my java skills and check api. So why not later.

Any other suggestion ? Thanks.

No news ? please ?

Timothy Chin Community Champion Jan 16, 2013

Sorry. Must have missed this.

Have you tried to get your script to load the UI script (

Perhaps AUI flatpack could be another option. I've had issues getting jQuery to load so going to try AUI. check their AUI sandbox for samples of what all you can do with it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,124 views 4 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you