Jira quick reload plugin doesn't work on service desk queue

neetubhatt November 2, 2017

when we are opening any ticket on servicedesk queue then notification is not working ,but working when we are opening the ticket seprately . 

 

for example : projects/TES/queues/custom/1/TES-2  is not working 

/browse/TES-2  working for this URL 

Is there any workaround to fix this problem ?

1 answer

0 votes
Denis Burdukovskiy June 20, 2018

We have the same issue :(

Does anyone knows the way to solve it? Maybe there are some settings to change?

neetubhatt June 20, 2018

try with commenting : 

 issueIsVisible: function () {
return JIRA.Issues.Api.issueIsVisible();

from jiraApi.js file . 

Denis Burdukovskiy June 20, 2018

Nothing changed :(

Opened page with URL like /projects/... has no alerts

Page with URL like /browse/... has alerts

neetubhatt June 20, 2018

Have you removed it from main.js as well ,because for me it working fine after doing refactor 

Denis Burdukovskiy June 20, 2018

I did.

And from updating/console.js (I found there issueIsVisible).

But nothing changed. 

p.s. thanks for your quick support and attention

neetubhatt June 20, 2018

I  have checked my code and did the same changes and its working perfectly fine for both scenario ,jst check if u have missed something :have u removed it from :

function changesSuccessHandler(data) {
if (data.issueChanged && jiraApi.issueIsVisible()) {
events.trigger('updater:issueStale', data);
}
}

function detectChangeHandler() {
if (jiraApi.issueIsVisible()) {
ajaxManager.getIssueUpdates()
.done(changesSuccessHandler);
}
}

these function and try with

 if (JIRA && JIRA.Issue && JIRA.Issue.getIssueId && JIRA.Issues && JIRA.Issues.Api && JIRA.Issues.Api.refreshSelectedIssue &&! JIRA.Issues.IssueTableView)  in main.js file . it should work .

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events