Whether the ID's of HTML elements used to build JIRA change with JIRA upgradtion or not?

THOMAS REJI February 19, 2018

Hi Guys,

I am injecting  some javascript to JIRA in order to change the field name dynamically. I am relying on the ID and title of JIRA elements rendered at client side (from browser console)  in order implement the feature. If these IDs or title under gone for any kind of change my application will effect. So please let me know is there any possibility of changing these values during JIRA up gradation (in Future)

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 19, 2018

Some will, some will not.

You really should not be using javascript to do this, unless it's bundled into an add-on where you can make the calls dynamic so you don't need to worry (i.e. they work out the ids, not hard-code them)

THOMAS REJI February 19, 2018

Hi Nic,

Thank you for your kind reply. I have written a code like

"AJS.$("label[for='customfield_12504']").text("Release");"

 

will this get effected?

Suggest an answer

Log in or Sign up to answer