JSD SLA based on customer request type

JIRA Service Desk

is it possible generate a SLA based on customer request type?

x example the jql query for de SLA

issuetype="incident" and "Customer Request Type" ="XXXXX"

doesnt work 

2 answers

0 votes

Hi Jaguilar,

Could you elaborate a bit more (if necessary) on what you mean by 'doesn't work'? I tried to figure out what you want to do by looking at the default implementation of an out of the box IT Service Desk and assume that you want to set different SLA targets for e.g. different types of Service Requests.

What you are trying to do is perfectly possible and even with your example JQL there's actually nothing wrong. If you consider that:

  • after you save and recalculate your SLA, it might take some time before the new calculations are done;
  • that SLA's will only be recalculated for issues having an 'open' SLA metric (i.e. that the SLA has not reached its defined target condition)

the scenario you described should be working perfectly.

Hi Walter,

thanks for your response,

i will detail the case:

  • i create a new sla
  • i specify a JQL: issuetype="incident" and "Customer Request Type" ="XXXXX"
    note: the help for select a customer request type doesnt show the availables values, it works with other ones 
  • when i test the sla, it doesnt work, i mean the SLA doestn appear 
  • when i review the log file i found the msg: "Argument data type ntext is invalid for argument 1 of lower function"
    i review the query that produce the error, in my case:

    select top (10)
    "AO_54307E_VIEWPORTFORM"."CALL_TO_ACTION",
    "AO_54307E_VIEWPORTFORM"."DESCRIPTION",
    "AO_54307E_VIEWPORTFORM"."FORM_ORDER",
    "AO_54307E_VIEWPORTFORM"."ICON",
    "AO_54307E_VIEWPORTFORM"."ICON_ID",
    "AO_54307E_VIEWPORTFORM"."ID",
    "AO_54307E_VIEWPORTFORM"."INTRO",
    "AO_54307E_VIEWPORTFORM"."ISSUE_TYPE_ID",
    "AO_54307E_VIEWPORTFORM"."KEY",
    "AO_54307E_VIEWPORTFORM"."NAME",
    "AO_54307E_VIEWPORTFORM"."VIEWPORT_ID"
    from
    "dbo"."AO_54307E_VIEWPORTFORM" "AO_54307E_VIEWPORTFORM"
    inner join "dbo"."AO_54307E_VIEWPORT" "AO_54307E_VIEWPORT"
    on "AO_54307E_VIEWPORTFORM"."VIEWPORT_ID" = "AO_54307E_VIEWPORT"."ID"
    where
    "AO_54307E_VIEWPORTFORM"."VIEWPORT_ID" = 1
    and (lower("AO_54307E_VIEWPORTFORM"."NAME") like '%' --escape '\'
    or (lower("AO_54307E_VIEWPORTFORM"."DESCRIPTION") like '%'))-- escape '\')


    the error is in the last line; lower(......) the field DESCRIPTION is ntext type; when i comment the last line, the query works and i can see all the customer request types

    im not sure what is the reason, it could be the collation of database that is Latin1_General_CI_AI i dont know....

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,856 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot