Depending on where your code is being executed you can do a call to
Response.temporaryRedirect(URI.create("${baseUrl}/browse/${issue.key}")).build()
We use it within custom REST endpoints with Scriptrunner for Jira.
I don't believe you can do this. You'd need to inject your own javascript to do it, and SR doesn't have a way to do that.
Could you explain what you're actually trying to achieve and why a page refresh is desired?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I try to display the message using UserMessageUtil.success('Good job! ') It doesn't display until the page is refreshed Any solution for this
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.