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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

We have recently added updated SLA's however they only seem to cover the tickets created from the date that the SLA was updated.  Will the update not factor in any JSD tickets prior to us adding these new ones?

2 answers

1 accepted

1 vote
Answer accepted

Hello Ellen,

Welcome to Atlassian Community!

Per your description, I understand you updated one of your SLA Goals in your project, however, the changes in the SLA time was not applied to the issues created before the SLA updated. Is that correct?

Can you let us know if you are in Jira Cloud or Server?

As you can see in this documentation, when an SLA goal is changed, it applies to all open issues in your project, keeping your resolved issues with the old SLA:

When you edit an existing SLA, Service Desk will re-index all the existing issues in the project. All the SLA data for elapsed time will be recalculated to measure against the new metrics. The SLA status is only recalculated for open issues, not for resolved issues

That being said, the issues with a valid resolution in your site will not have their SLAs updated upon a change in the SLA goals, instead, only the open issues created before and after the SLA update would be recalculated.

As a workaround to recalculate the SLAs of your closed issues, you can use postman to perform the steps of the documentation below, ignoring the step to enable the dark feature in case you are in Jira Cloud:

Missing or corrupted SLA data in Jira Service Desk 

If it is not the scenario above you are facing, please provide us with a screenshot displaying the exact details you changed in your SLAs and another screenshot from one of the issues which SLA was not recalculated.

Let us know if you have any questions!

Good morning Petter.  Yes, that's exactly right.  I will try using postman as you have suggested and follow the steps in the document to see if I can rectify the issues.

Thank you very much.

Hi Petter. 

I am using JIRA Cloud and have tried just missing out the step to enable to dark feature and follow everything else through Postman but I'm not getting anywhere. 

I am really new to all the tech jargon so you'll have to excuse me.  When I send the request it says Status: 405 Method Not Allowed.  I have checked that I am using POST and gone over what I have typed in very carefully and it all seems to be as it should be, but there must be something wrong somewhere.

So in POST I am typing: <mycompanyname>.atlassian.net/rest/servicedesk/1/servicedesk/sla/admin/task/destructive/reconstruct

(which I presume is what is meant by <baseUrl> in the guide).

Under Headers I am putting: Content-Type and in the value I am putting: application/json

Under Body I am putting ["ISSUEKEY-***-****"] 

I am actually putting the issue key ref in there in the above format and then pressing Send.

Is there anything that stands out as obviously wrong in the above?  I really appreciate your help so far.

Sorry, meant to reply, not answer :-)

Hello @Ellen Turner

Thank you for your reply.

Please, check the steps below:

1 - Jira Cloud is on https://, so please make sure to add it to your post command:

https://<yourcompanyname>.atlassian.net/rest/servicedesk/1/servicedesk/sla/admin/task/destructive/reconstruct

2 - Make sure you have properly authenticated in Postman with your admin account to run the command, also confirming your current done issues do not have any workflow properties that prevent it from being edited and that your users can properly edit those issues.

3 - Alternatively to the postman tool, you can try the Curl command line tool mentioned in the documentation:

  • $ curl -X POST -u $USERNAME:$PASSWORD -H "Content-Type: application/json" "https://<yourcompanyname>/jira/rest/servicedesk/1/servicedesk/sla/admin/task/destructive/reconstruct" -d "[\"TEST1-2\", \"TEST1-3\"]"

Let us know if this information helps.

Hi @Petter Gonçalves 

Thank you very much for getting back to me.  It seems that I am not properly authenticated so I will need to sort that out in postman.

Your help is much appreciated.

Like Petter Gonçalves likes this

Hello @Ellen Turner

You are welcome! Let us know in case you need help with anything specific.

Like Ellen Turner likes this

Hello @Petter Gonçalves 

Please help with similar situation, when we made SLA we made some mistakes so we repair themes and now we need to recalculate SLA

I try to do like you wrote but I have no changes in SLA and their goals.

I get answer 200 OK and {"successes":{},"failures":{}} is it correct answer?

I send POST like on screenshot

Screenshot 2021-07-12 164739.png
Also we use CLOUD Jira

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Atlympic Event: Jira Service Managemnt

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

297 views 4 6
Read article

Community Events

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

Events near you