You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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!