Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Hide "Configure Fields" Button

lph387
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 27, 2019

I would like to hide "Configure Fields" Button on right top corner of edit/create issue panel

 

Is it able to hide by "Hide UI Element" provided by script runner?

https://scriptrunner.adaptavist.com/latest/jira/fragments/HideUIElement.html

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 28, 2019

Hello,

I hope you are having a nice day.

Can you confirm if you are using JIRA Server or Cloud?

If you are using JIRA Server, you can add some Javascript coding in your UI background. These would be the steps:

  1. For the javascript to run, you will need to paste the coding on the description area of the field since it supports HTML codings. To do this, actually you have two choices, you can either create a custom field or utilizing a default field on the screen.
  2. Similar steps are applicable to both default field or custom field after you created a custom field. However do note that, if you used a custom field, the custom field will be visible to the users and hiding it from Field Configuration will disable the javascript posted on its description.
  3. Navigate to Administration > Issues > Fields > Fields Configurations > Configure to view the list of fields.
  4. Choose the field that you wanted to paste the codes on (recommended to paste on Description Field or Comment Field since both of them is without pre-defined descriptions on them).
  5. Click on edit to show the Field Description.
  6.  Paste the codes provided below to the Description field and Update the field.

    <script type="text/javascript">
    (function($) {
        AJS.toInit(function(){
            // init on load
            AJS.$("#qf-field-picker-trigger").hide();
        })
        JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e, context) {
            // init on refresh
            AJS.$("#qf-field-picker-trigger").hide();
        });
    })(AJS.$);
    </script>
  7. After doing this, you can verify the result by trying to create an issue, the button "Configure Fields" should not be visible anymore. (Refer screen capture below)

Unfortunately, Javascript is a restricted function on JIRA Cloud, so it is not possible to customize the formatting or configuration of the Cloud UI.

For more information about the steps provided above, you can check the documentation below:

How to Hide the Configure Fields Button on the Create Issue Screen

Let me know if this information helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events