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 vote

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

35 views 0 4
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