I need to change the name of 4 locked Jira custom fields:
Epic Link
Epic Name
Epic Color
Epic Status
I can do that by unlocking the fields through the DB and changing their names. But as per Atlassian it's not recommended.
So, instead, I want to insert a short javacript code that will change only the text on the UI.
At first. I inserted into the Announcement Banner the following code:
<script type="text/javascript">
AJS.$(document).ready(function () {document.querySelector('[title="Epic Link"]').innerHTML = "Feature Link"})
</script>
It worked, but also caused some issues in loading other parts of the GUI.
can we insert the code in another location where it will run only on the specified field?
Or maybe the code is problematic?
I'd say look into some of the scripting add-ons. I know ScriptRunner has Behaviours that might be able to achieve this.
or here are some others...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.