Custom Fields are not showing in admin section

Apologies if this is a repost, I couldn't find any existing matching queries.

 

We're having a strange problem. In the admin section we can create custom fields with no problem, add them to screens, etc. But they do not show up in the custom field list when we want to configure, edit or delete them. By using inspect element we can find the field ID (on screens) and manually enter the correct url, but this is a very annoying issue. Any fix for this?

 

Screen Shot 2015-09-02 at 9.54.43 AM.png

Screen Shot 2015-09-02 at 9.55.10 AM.png

2 answers

1 accepted

2 votes

One possible culprit that I've run into several times - you've put javascript into one or more custom field descriptions.  That can spectacularly break the custom field list (and other stuff in general)

Nic, you are a lifesaver! Thank you so much. I found and fixed the wonky javascript.

Jesse, How did you find the field with the Javascript? I'm having a similar issue where I've created two custom fields and they aren't showing up in the Custom Field listing.

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

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

<!-- 

some code here

 

Note that the closing --> was missing.

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...

"/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)

6) Append your domain + the url and edit the position, incrementing it by one.  So for me, my url looked something like this:

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

 

7) Hit enter on your modified url, fix your formula or 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. 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

106 views 0 5
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