Hi!
I'd interesting in is it a way to get SLA value with Java API in the same format as it shows on SD (included svg icons).
I've inspected the SlaInformationService and find out that we can get general information, but:
1. remaining time not always gives correct value
2. duration formatter for human-readable format returns value in hours (so, -2d 5h in Jira will be -53h from duration formatter)
3. We have not all information about SLA status. We have only "paused" or "breached", but nothing about succeed or initial status.
Also SlaInformationService doesn't give us information about settings for SLA view (human-readable or hours:minutes)
So, the question is: Is it any way to just get value from SLA field the same as it shows in Jira SD?
Thanks,
Olena
Hi, Olena!
Thank you for your questions.
The following are the docs for Java API for Jira: https://developer.atlassian.com/server/jira/platform/java-apis/
We also have the following guide which will guide you to create a sample add-on: https://developer.atlassian.com/server/framework/atlassian-sdk/create-a-helloworld-plugin-project/
I am still looking for your question specifically on value from SLA field.
Kindly note that development-related queries fall beyond the support of this channel. Therefore for these queries, we would direct you to the developer's community at https://community.developer.atlassian.com.
Best,
Rafa
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.