What is advance setting jira.enabled.dark.features (JIRA_OPTION_ENABLED_DARK_FEATURES)

As of JIRA 5 the Advanced Settings will show a new, unset Option called:


(Which is set in constant JIRA_OPTION_ENABLED_DARK_FEATURES)

What does this mean and what is it for?

Dark Theme?

Some "dark forces from the other side"? :=)


13 answers

1 accepted

Accepted Answer
3 votes

From the code:

"Dark features are features that can enabled and disabled per user via a feature key. Their main use is to allow in-development features to be rolled out to production in a low-risk fashion."

Apologies if this isn't kosher to post.

Sounds like Labs features of Google apps.

2 votes

I think they are "labs" features... you could set them through system properties, or I guess globally in the UI.

Here are a couple of examples...



The second one is a bit self-explanatory, you'd have to experiment or look at the code to see what #1 does.

0 votes

Well, it is "Star Wars" day ;-)

you're joking...this isn't an easteregg … isn't it? mhh...set it to "true"…let's see

0 votes

Nope, it is Star Wars day. But yes, it's a real option. I'd be interested to know how you get on - from what I've seen, it's either something to do with users being able to enable/disable functions for themselves, or possibly something to do with renering.

As mentioned above: Found it after Jira 5 Upgrade in my advanced settings on the jira web administration gui… https://jira.example.com/secure/admin/AdvancedApplicationProperties.jspa

has anyone tired this yet

Has anyone tried this yet?

tried yes, found anything changed no. But today I found some translations available in https://translations.atlassian.com/

0 votes

Skimming the source, it looks like 'kickass' is the internal name for an update of the issue navigator.

Just found a darkfeatures-panel.vm:

##disable_html_escaping() TODO REENABLE
#* @vtlvariable name="textUtils" type="com.opensymphony.util.TextUtils" *#
#* @vtlvariable name="isAdmin" type="boolean" *#
#* @vtlvariable name="globalEnabledFeatures" type="java.util.List<com.atlassian.jira.config.CoreFeatures>" *#
#* @vtlvariable name="userEnabledFeatures" type="java.util.List<com.atlassian.jira.config.CoreFeatures>" *#

<div class="module isolated">
    <div class="mod-content">
        <form class="aui" action="EditDarkFeatures.jspa">
            <section id="global-dark-features">
                <h3>Site-wide Dark Features</h3>
                    These dark features are enabled for the entire site.
##                    TODO - copy site dark-features admin from Confluence too, and link from here for admins.
##                    #if ($isAdmin)
##                        <a href="$req.contextPath/admin/darkfeatures.action">Change</a>
##                    #else
                        They may only be disabled by an administrator.
##                    #end
                    #if ($globalEnabledFeatures.size())
                        #foreach($feature in $globalEnabledFeatures)
                            No global dark features enabled

            <section id="user-dark-features">
                <h3>User Dark Features</h3>
                    These dark features affect you only:
                    #if ($userEnabledFeatures.size())
                        #foreach($feature in $userEnabledFeatures)
                            #set ($featureStr = $textUtils.htmlEncode($feature))
                                ## This could use an XSRF token... worth it? E.g. &#url_xsrfToken()
                                (<a href="EditDarkFeatures.jspa?action=remove&featureKey=$featureStr">remove</a>)
                            No user dark features enabled
            <div class="field-group">
                <label for="feature-key">Enable dark feature:</label>
                <input id="feature-key" type="text" value="" name="featureKey" class="text">
            <div class="buttons-container content-footer">
                <div class="buttons">
                    <input type="submit" value="Submit" class="button">

So it looks like there is a EditDarkFeatures.jspa somewhere out there ;)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

456 views 7 5
Join discussion

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