Added broken JavaScript to the description of the description field and cannot remove it

I was trying to add some custom JavaScript to the Description of the (built-in) description field for a custom field layout.

 

After I added it the field is no longer editable in the Configure Field Layout screen.

Capture.JPG

Also all fields below that in custom field layout or issue create do not display.

 

I have access to the db and box we have hosting JIRA but I cannot figure out where the data is stored. 

 

Any thoughts?

 

2 answers

1 accepted

1 votes

Ah, another good reason not to inject javascript in Atlassian applications ;-)

You might try this:

Look at the line above the description in the list of fields.

Hover over the "edit" link, it should look something like:

https://yourjira/jira/secure/admin/EditFieldLayoutItem!default.jspa?atl_token=<some junk>&id=10100&position=5

Copy that link and then paste it into the browser, adding one to the number that is after position= (so in my example, you'd use position=6)

That should get you to the edit screen, so you can remove or correct the javascript!

YES - that worked thanks so much!

 

 

I would not usually add javascript to the description but I am trying to get some templates without buying another add-on :D

I don't mind it when it's the simple stuff, but I tend to come across a lot of broken installations where people simply shouldn't be using it.

0 votes
Alexey Matveev Community Champion Jan 05, 2018

Hello,

Try customfield table.

Description is a built in field (default to JIRA) and does not live in the customfield table

Alexey Matveev Community Champion Jan 05, 2018

But it must be somewhere:) Unfortunately I am on holidays now and I do not have access to Jira database. It was just a guess.

Alexey Matveev Community Champion Jan 05, 2018

jiraissue table? 

Alexey Matveev Community Champion Jan 05, 2018

No, it is not there ;) You need to find a table with custom layouts I guess. Ok. Now I think I got it

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,975 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot