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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.