Missed Team ’24? Catch up on announcements here.

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

Edit "Create" button to always open in a new tab

Jennie Sheridan March 8, 2017

Is there a way to edit the "Create" button? I want to edit this to always open in a new tab? 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Sam Hall
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 9, 2017

Hi Jennie,

There is a slightly hacky way to do this.

You can put Javascript in the announcement banner which can alter the properties of the button.

Putting the following in the 'Announcement' field works for me. This overrides the behaviour of the create button so that it no longer opens a 'Create Issue' dialogue box. Instead it opens a the 'Create Issue' screen in a new tab.

<script type="text/javascript">
  AJS.toInit(function(){
    AJS.$('#create_link').removeClass("create-issue");
    AJS.$('#create_link').attr("target","_blank");
  });
</script>

Hope this helps.

Sam

TAGS
AUG Leaders

Atlassian Community Events