e.g. this on StackOverflow:
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!
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,'[]')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.