Auto-check for updates to an open Jira issue?

Marnix Klooster October 21, 2022

When I have a Jira issue page open in my browser, and others are working on that issue in parallel, there is no way to see that anything changed, until I explicitly check by reloading the page.

Is there a way (a browser extension, a GreaseMonkey script, ...) to let the browser regularly check whether the issue was updated, and then e.g. show a big 'refresh to see updates' button (perhaps even without reloading the page, using e.g. refreshIssuePage from https://developer.atlassian.com/cloud/jira/platform/jsapi/jira/).

(Update: Retagged because I'm interested in a Jira Data Center solution; but don't let that keep anyone from submitting Jira Server or Jira Cloud answers!)

Update: If someone can point me to documentation or examples showing me how to do REST API calls from a Jira issue page, so that I can figure out 'was something changed since the time this page was loaded?', then I could try to write a userscript myself.

2 answers

0 votes
Marnix Klooster March 21, 2023

Answering my own question here: It seems one can just do calls to .../rest/api/latest/..., following the documentation on https://docs.atlassian.com/software/jira/docs/api/REST/latest/.

Based on that, I've written a very basic userscript, tested with Jira Software 8.20.  See https://gist.github.com/marnix/0d27e891be359afc69ba5b090b6607b1, and a direct link to the script is https://gist.githubusercontent.com/marnix/0d27e891be359afc69ba5b090b6607b1/raw/jira-issue-page-updated-notification-userscript.js .

Hope this helps someone out there...

0 votes
Melo
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 27, 2022

Hi @Marnix Klooster

That's not exactly what you're looking for, but this app shows you who else is online looking at the same issue.

https://marketplace.atlassian.com/apps/1218874/who-is-online-for-jira?hosting=cloud&tab=overview

I hope that helps.

Cheers,

Melo

Marnix Klooster October 28, 2022

Because I was focusing on a browser-side solution (an extension/plugin, or a userscript) I didn't think to look at the marketplace, so thanks for that hint!

Looking there, I now found https://marketplace.atlassian.com/apps/1211504/issue-edit-notifications-for-jira which is exactly what I'd like to have!

Unfortunately that is only for Jira Server, while we are using Jira Data Center.  (I've updated/re-tagged the question based on that.)

Still: Thank you very much!

Like Melo likes this

Suggest an answer

Log in or Sign up to answer