I want to get JIRA Service Desk metric definitions and calendar definitions (working days, hours, holidays) via Java API from my plugin. How can I do that?
I added references to Service Desk libraries but couldn't find a way to do it. The Manager classes I found end up using internal classes as parameters, which by definition is internal to the jar file and I cannot use.
I know the Service Desk API is not public, is undocumented and is subject to change in the future but I am OK with these. Is there a way to get these settings from Java API?
Hi Emre,
did you find a solution?
I would like to get access to the Calendar settings. I know that it is possible to get lets say calendar information in Jira Agile, for example: WorkingDaysDao.
Is there an equivalent of such classes in Jira Service Desk?
I found some classes like CalendarService and WorkingHoursCalculatorService in "com.atlassian.jira.plugins.workinghours.api" package. and TimeMetricService in "com.atlassian.servicedesk.api.sla.metrics" package. Did my thing with those.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.