Solved: JIRA-7.3.1 - Customfields not visible in Admin custom field list and field configurations Edited


In our company, we have licensed 7.3.1 in production. Some of the existing custom fields are not showing up in the admin customfields section and field configurations.

Although, we can see them in the DB and also reach the custom field if we query url based on customfield ID.

Kindly suggest on how we can correct this.

Reindexing or server restart did not help.

2 answers

1 accepted

1 vote
Accepted answer

Looks like there is some script , which is added in the some custom field causing this problem. That script would have been not closed properly like close tags are not added ..etc. 


You can check the script added in the last custom field id,which is showing in the screen.

Indeed, it's not just broken javascript that does this, it's often just having the script there at all.

You should not inject javascript into field descriptions in Jira, it's unreliable, doesn't upgrade well, and often breaks things.

Thank you! This helped us resolve the problem. 

EDITED: Updated with additional information and clarification that impacts what link to look for, also reformatted a bit, hopefully for legibility.

Note, this can occur with custom formula fields, here is the issue and the solution:

We had the same issue, here is a description of the problem and how I resolved it.

  1. 1) Recently a new Custom Formula Field was added. The formula was something like this:

    some code here 
    Note that the closing --> was also missing @@Formula:
  2. This caused fields a- c and t-z to be displayed with all other fields in the middle removed from view.
  3. The last field displayed before the gap in the field is the field that has the issue.  So for me it looked like this (example of course)
    Field 1
    Field 2
    Field 3,
    Field 8
    Field 9, etc.
  4. The challenge, for me in this scenario is that Field 3 and Field 8 were both formulas.  However, the edit link on Field 3 opened the edit page for Field 8 and not 3. ... 
    what to do??
  5. Steps to resolve, view source on the custom field list page.  Find the html for the field prior to Field 3.  For me this was Field 2.  Copy the partial url for the edit link.  It will look something like this...

    NOTE: for Administration->Issues->Field Configurations use this:

    "/secure/admin/EditFieldLayoutItem!default.jspa?atl_token=... stuff deleted...;id=10800&amp;position=68"  (note don't actually delete the stuff I deleted... that was for brevity)

    NOTE: for Administration->Issues->Custom Fields  use this:
    EditCustomField!default.jspa?id=xxxxx (where xxxxx is your custom field id.

  6. Append your domain + the url and edit the position, incrementing it by one.  The url should look something like this:

    NOTE: for Administration->Issues->Field Configurations use this:!default.jspa?atl_token=... stuff deleted...;id=10800&amp;position=69

    NOTE: for Administration->Issues->Custom Fields  use this:!default.jspa?id=xxxxx (where xxxxx is your field id)

    Note: the important thing in either case is to know either the position or the field id.  I imagine the field id is easier.
  7. Hit enter on your modified url, fix your formula, remove it, click update to post the data and Voila!  All of your custom fields will return.  

    Rinse and repeat the above step for each of the incorrect formula fields. 

    ps: posting this response on a couple of similar questions to assist future sojourners. 

Indeed, this is one of the very good reasons for staying away from formula fields, they make it easy to break Jira like this.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,137 views 4 9
Read article

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