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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Get SLA value with Java API


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? 




1 answer

1 vote
Rafael Meira
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 28, 2022

Hi, Olena!

Thank you for your questions.

The following are the docs for Java API for Jira: 

We also have the following guide which will guide you to create a sample add-on:

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


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events