Hi there,
I go the task to pause/unpause a SLA.
My attempt was using Scriptrunner, this way there was no need to develop a complete plugin.
On my development system I got it running.
What I do is, that I get the issue customfield value of the sla I have to pause.
Inside the value is a history list, adding a new pause event there and saving works, pausing the sla without moving to a new status.
I also set the boolean in the ongoing data.
The issue gets an reindex at the ende.
My problem now is, that this works so far only on my development system.
The other two systems I have tested the script wont pause the SLA.
All systems are running the same Jira 8.7.1, Servicedesk 4.7.1 and Scriptrunner 5.6.15.1-p5 versions.
All are running against a Postgres 72
Do you have an idea why the SLA pauses on one but not on a another system?
Thanks for reading this so far
Philipp
Found my Answer,
the new Timeline event was created in the future.
Even in 2024, your script would be appreciated :-D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there, sorry for the late reply.
Sadly i can't find the script anymore.
As far i can remember, there is a service / database-table containing the events from the SLAs. I added there a new "plause" entry.
Hope this helps a bit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Phillip,
I know this was a while ago, but would you happen to have the script that you used to achieve this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Journeys is a brand new feature in Jira Service Management that helps you streamline various processes in your organization that may cross multiple departments, such as employee onboarding or off-boarding that require action from different teams. ✨
Join the EAP →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.