It's possible to display a user message from a Web Item using flag return as described in ScriptRunner documentation : https://scriptrunner.adaptavist.com/latest/confluence/fragments/WebItem.html
It's also possible to redirect to a page with the code :
But I would like to do the two things in the same return. Does anyone know if it's possible and how do that ?
Hey, @Couleur_Connection .
There's nothing "out of the box" that will do this in ScriptRunner for Confluence, the way redirects and dialogs are built-in. There are ways that you might wire this up, though.
I should also note, we have a feature request on our backlog to make things like this easier. See https://productsupport.adaptavist.com/browse/SRCONF-668 . That would do most of the heavy lifting I described above for you, so please do vote for that feature if you're still interested!
Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events