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

In Jira if the SLA is breached for a ticket and it that ticket is assigned to me.

Asmath Basha S
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2023

In Jira if the SLA is breached for a ticket and that ticket is assigned to me, then that SLA breached ticket will comes under me. Need a solution for this in Jira

1 answer

1 accepted

3 votes
Answer accepted
Tim Kopperud
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 18, 2023

Hi @Asmath Basha S, if I understand your question correct you might try something like this:

"Time to resolution" = everBreached() and assignee = currentUser()

And you can focus only on SLAs still running (not closed) 

"Time to resolution" = everBreached() and "Time to resolution" = running() and assignee = currentUser()

Replace Time to resolution with the SLA you need to monitor.

Since currentUser() is the person executing the JQL you also need to swap currentUser() with your real user name if this JQL is for everyone to see your SLA breaches. 

TimK.

Asmath Basha S
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 18, 2023

Hi @Tim Kopperud  Thanks for you reply.

 

  • In JSM, the SLA has already created in the tickets for a project. I need to know, the SLA has breached in a ticket from Team A and after that SLA has breached the ticket was assigned to another person Asmath from Team B.
  • Now the ticket was resolved by Asmath and now that SLA breached ticket is listed under Asmath.
  • Actually Team A breached the ticket but at the end Team B (Asmath) is responsible for that SLA breached ticket.
  • Can we have any solution from Atlassian end.
Tim Kopperud
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 18, 2023

Hi @Asmath Basha S, this is a tricky one. Since there is no breachedBy() function i JQL and no field for former assignees I cannot immidiately come up with a JQL for this. 

What you might do is the following: 

  1. Create a user picker field called e.g. Last breached by
  2. Make sure this field is only available in View screens, so it cannot be set manually
  3. Create an automation rule which
    1. Is triggered by SLA threshold breach
    2. Set the new field, Last breached by, to value = Assignee
  4. Then create JQL reports quering Last breached by field

The new field will always display the user who was the assignee during the last SLA breach. 

TimK.

Asmath Basha S
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 18, 2023

Hi @Tim Kopperud  Can you explain the Condition and Actions while doing Automation.

 

Tim Kopperud
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 18, 2023

Hi @Asmath Basha S, the rule will look something like this:

image.png


Step When: SLA treshold breached

image.png

You need to select the SLA from the dropdown based on your excact need. I used Time to resolution in my example. 


Step Then: Edit issue fields

image.png

In the Choose fields to set... dropdown select (check) the new field name, e.g. Last breached by.

In the field Type to find matching users... write {{assignee}} (you will not find this in the dropdown so you need to key it in). 

You might also untick Send notification under More options (red circle) if you don't want to notify about this to the users following the issue. 


TimK

Asmath Basha S
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 18, 2023

Hi @Tim Kopperud  I have followed the steps which you have provided above.

  • Automation has worked for me and I have a question regarding the reports.
  • While filtering out the SLA breached tickets of the Users, mostly we can take Assignee.
  • In this we have added Last breached by field.
  • If we want to filter the SLA breached tickets instead of Assignee we need to take Last breached by field right.
Tim Kopperud
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 19, 2023

Hi @Asmath Basha S, yes, if I understand your question correct. 

Since Last breached by will be empty until the SLA is breached you can simply use this JQL:

"Last breached by" IS NOT EMPTY

TimK.

Asmath Basha S
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 19, 2023

Thanks @Tim Kopperud  Got it.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events