Hi,
I have entered the following code in the "Announcement Banner".
<script type="text/javascript">
AJS.$(document).ready(function () {
var issueKey = AJS.$("#key-val");
if (issueKey) {
var myProject= issueKey.text().split("-")[0];
// console.log("alt:"+AJS.$("#key-val .toggle-title").text())
if(myProject == "TPROJ"){
AJS.$("#create-subtask").text("Create Action Plan");
AJS.$("#view-subtasks_heading .toggle-title").text("Action Plan");
}
}
});
</script>
My intention with code is the following:
1. Change the Sub-Task header to "Action Plan" and
2. Change the "Create Sub-Task"-Action to "Creat Action Plan"
only for one specific project.
This works fine.
My problem is i need to refresh my issue manuelly, any time i create a sub-task, because the header is changed to "Sub-Task" and the action "Create Sub-Task" is also change to its previous name.
I am looking for a ways, to do the refresh the issue after any changes are entered in the issue.
Can any-way help. Thanx in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.