Setting Up the SLA Karma
What is the SLA Karma?
With SLA Karma we could control SLA violations by assignees. HelpDesk stores SLA Karma in the issue field (type Number). HelpDesk check violation of SLA if the assignee closes the issue (or resolves it). If there is a violation of SLA, HelpDesk stores negative points to the SLA Karma field. If there is no violation of SLA, HelpDesk stores positive points to the SLA Karma field. So, during working with issue assignees could increase or decrease points. We could track if an issue will has a negative SLA Karma value.
There is an example of an issue with a negative SLA Karma after closing:
![](../../__attachments/3254681665/image-20230427-081913.png?inst-v=0ec633b7-7887-4011-80be-da1f370f2441)
SLA Karma custom field
To use SLA Karma we should add a new custom field to Issue Screens. Go to the Administration > CustomFields and add field (type Number):
![](../../__attachments/3254681665/image-20230427-081933.png?inst-v=0ec633b7-7887-4011-80be-da1f370f2441)
SLA Karma post-function
SLA Karma field is updating if we do a transition. So, we should add special SLA Karma post-function to transition. For example, to "Close Issue":
![](../../__attachments/3254681665/image-20230427-081950.png?inst-v=0ec633b7-7887-4011-80be-da1f370f2441)
We must define an SLA field (SLA normative is stored here) and SLA Karma (SLA Karma will be stored here) field here:
![](../../__attachments/3254681665/image-20230427-082005.png?inst-v=0ec633b7-7887-4011-80be-da1f370f2441)
Although, we could add a special listener "Issue Assignee" to catch assign events. If SLA normative is violated, negative Karma will store to the first assignee, but a new assignee. To do it, go to the Administration/HelpDesk/SLA Settings and choose affected by listener Projects and SLA fields:
![](../../__attachments/3254681665/image-20230427-082026.png?inst-v=0ec633b7-7887-4011-80be-da1f370f2441)
SLA Karma Gadget
We can view karma summary in the SLA Karma Gadget:
![](../../__attachments/3254681665/image-20230427-082048.png?inst-v=0ec633b7-7887-4011-80be-da1f370f2441)
here is:
Karma is a current balance of the user. [Karma] = [Count of violations] + [Count successfully events]. For example, a user has closed 5 issues with a violation and 10 without. His Karma will be equal to 5.
Karma cases is a summary of all events (negative and positive).
View SLA Karma field value in the JIRA Gadgets
We should add SLA Karma field to any JIRA Gadgets, something like that:
![](../../__attachments/3254681665/image-20230427-082124.png?inst-v=0ec633b7-7887-4011-80be-da1f370f2441)