Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Stuck trying to configure a css file into a script runner fragment

I have a local JIRA server, version 9.2. I'm attempting to use a configured resource to import a CSS file and make changes to how certain elements look on the front-end of my JIRA issue details page.

This is the YouTube tutorial I'm trying to implement:

This is the documentation on setting up the CSS file:

Following this documentation I have:

- used the default scripts directory (which contains my "custom_css.css" file

- Next I pasted the following code into my (or .bat) script like so:

JVM_REQUIRED_ARGS='-Dplugin.resource.directories=/app/home/scripts-Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory 

I've followed these steps, but still get the error: "Could not find custom_css.css in configured resource directories: You need to configure at least one alternate resource directory before using a web-resource, see the documentation

What am I doing wrong? 



0 answers

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

5,011 views 18 31
Read article

Atlassian Community Events