Hi Everyone.
In a certain case, I throw a UserMessageUtil.
the UserMessageUtil appears only after refreshing the page., but we still want to use it.
i thought about injecting Javascript into the field's description. but it's fixversion field.
Then i thought about writing a script to refresh the window. it did not work.
any ideas ?
--- This is my code BTW.
def reloadPage (Issue issue) {
@Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.5.1')
def http = new HTTPBuilder( "URL/browse/${issue.key}" )
http.auth.basic 'user','pass'
def postBody = [reset:'on',submit:'Refresh Web Scripts']
http.post( body: postBody) { resp, JSON ->
log.warn("${resp.getClass()} , ${JSON}")
return resp
}
}
Thanks !
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.