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

How to stop Custom CSS/js files from overriding JIRA Built in styles/js files

Jacob Turley May 05, 2017

Okay, to kind of explain what is going on:

I am building a plugin and am trying to create a "fancy" button(Modal) via bootstrap.  When I include the styles/scripts via:

$webResourceManager.requireResource("InfuisonSoftPlugin:customStyles")

The styles are applied, but it breaks some functionality in Jira.  The one major thing is that when I go to click the "edit" button on the view issue screen, it just sits and acts like it is loading data, but it will sit there for eternity.  Another thing is this happens: 

 

Capture.PNG

Here is my resource code in atlassian-plugin.xml

 

<web-resource key="customStyles">

<resource type="download" name="bootstrap.min.css" location="bootstrap.min.css"/>
<resource type="download" name="jquery.min.js" location="jquery.min.js"/>
<resource type="download" name="bootstrap.min.js" location="bootstrap.min.js"/>
<context>jira.view.issue</context>
</web-resource>

Any ideas?

 

1 answer

JIRA already ships with jQuery. is there a reason you need a custom build of it? 

Hi

See this for more info:

info 1

info 2

info 3

 

For styles atlassian uses: AUI

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Featured Groups

Never Not Networking! Share your LinkedIn profile and let's connect.

As suggested on the Friday Funday thread (https://community.atlassian.com/t5/Off-topic-discussions/EARLY-Friday-Fun-for-June-14-Best-advice-you-ever-got-edition/td-p/1105333#U1106280) - and happy bir...

377 views 38 6
View post

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