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
I recently saw this question somewhere but now I cannot find it anymore, so please bear with me.
I have a ScriptRunner Script that will execute REST-calls against a backend. Now I possibly need a single call to be repeated, e.g. because the connection attempt failed. For this, I'd like to register a service to be executed at a single time (preferably once, but I suppose if I can register it, I can also de-register it). Preferably I'd also like to be able to pass parameters to that Service, namely the IssueEvent that triggered the script in the first place. Thus, I have the following questions:
I could solve this by registering a new custom-field and modifying it in case a script fails, but this will put me in a situation where I cannot determine certain parameters I need. The best solution would be to have a Service that receives the very same IssueEvent and especially its changelog.
Thank you in advance :)