Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Update SLA from Script

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 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

2 answers

1 accepted

0 votes
Answer accepted

Found my Answer,

the new Timeline event was created in the future.

Hi Phillip,

I know this was a while ago, but would you happen to have the script that you used to achieve this?

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events