Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to get the notifications bar similar to what StackOverflow has?

steve_dunn
April 23, 2019

e.g. this on StackOverflow:

so.png

This shows change in reputation points, and any of my questions that have new answers/comments or answers that have new comments.

We're trialling CQ and I feel that this is a vital ingredient that is missing that will stop our usage from gaining the critical mass to be a success.

Without this, users have to hunt around for these things, which a lot of users won't do.  They also won't read the notification e-mails as our company already drowns in automated e-mails!

I was looking at the REST API and thought that might help, but there doesn't seem to be a way of knowing when the user last visited the site so that we could develop a plugin to search for their questions/answers that have been modified since their last visit.

Any advice welcome!

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
PD Sheehan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 30, 2019

If you still have access to the script console, you can remove all your REST configuration with the following script.

PLEASE BE CAREFUL WITH THIS ===> if you have any other ScriptRunner Rest Configurations, they will all be lost.

First export the configuration:

import com.atlassian.jira.component.ComponentAccessor
def restConfigs = ComponentAccessor.applicationProperties.getText('com.onresolve.jira.groovy.groovyrunner:rest-endpoints')
def restConfigFile = new File("path where jira can write to and you can read/sc_restconfig.txt")

Once you've made sure you can read the file, do this to clear the configurations.

import com.atlassian.jira.component.ComponentAccessor
ComponentAccessor.applicationProperties.setText('com.onresolve.jira.groovy.groovyrunner:rest-endpoints','[]')

If for some reason you need to restore the configuration from the file:

import com.atlassian.jira.component.ComponentAccessor
def restConfigFile = new File("path where jira can write to and you can read/sc_restconfig.txt")
def restConfigs = restConfigFiles.readLines()[0]
ComponentAccessor.applicationProperties.setText('com.onresolve.jira.groovy.groovyrunner:rest-endpoints',restConfigs)
Günter Halmans
May 1, 2019

great! Thanks a lot for your feedback!

BR, Günter

José Suanzes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 28, 2020

In my case I needed to define the key before remove the endpoints:

 

import com.atlassian.jira.component.ComponentAccessor
def key = "com.onresolve.jira.groovy.groovyrunner"

ComponentAccessor.applicationProperties.setText(key,'[]')

PD Sheehan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 28, 2020

Thanks @José Suanzes , that was an accidental omission in my post. I corrected it.

However, for me, the key is 

"com.onresolve.jira.groovy.groovyrunner:rest-endpoints"
TAGS
AUG Leaders

Atlassian Community Events