Hello everyone,
I am using Jira Service Management cloud and i found script Jira_auto_refresh_issues_list.js but i dont know how can i enable this script in order to it works.Can anyone help me.
Thanks in advance.
This script reloads the issues list every 60 seconds
jira_auto_refresh_issues_list.js// Only on issues listif (/^(\/issues\/)/i.test(location.pathname)) {
var AutoRefreshIssuesList = AutoRefreshIssuesList || {};
// Main functionAutoRefreshIssuesList.init = function() {
// Wait until page is loadedAJS.toInit(function() {// Wait for 60 seconds before calling setInterval which fires immediatelysetTimeout(function() {// Refresh table every 60 secondssetInterval(function() {AutoRefreshIssuesList.refresh();}, 60000);}, 60000);});};// Refresh function - must use this to again test URL since AJAX can otherwise allow refreshes where we don't wantAutoRefreshIssuesList.refresh = function() {if (/^(\/issues\/)/i.test(location.pathname)) {AJS.$(".refresh-table").click();}}
// Fire on initial page loadAutoRefreshIssuesList.init();}
Hi @Aleksandr Ganiyev
You can't do anything with this Script. Running JS code is not allowed. What are you trying to achieve?
Ravi
Hello, Thanks for the reply
I would like to the page of Jira issue reloads every 60 seconds automatically
How can i do it?
Maybe in the advanced setting of jira service management have this option but i dont know where i can find it.
Ok
It looks like you're new here. Sign in or register to get started.