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

Hi,

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

This widget could not be displayed.

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. 

This widget could not be displayed.

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:

    https://subdomain.somedomain.com/secure/admin/EditFieldLayoutItem!default.jspa?atl_token=... stuff deleted...;id=10800&amp;position=69

    NOTE: for Administration->Issues->Custom Fields  use this:

    https://subdomain.somedomain.com/secure/admin/EditCustomField!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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

593 views 25 15
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