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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Use values from DB as Jira SLA Goals

Is there a way to get intervals stored in a postgres database be the value for the GOAL in Jira Service Desk SLA.




We have a list of services in a database, and they each have their own "Time to Assign" values. 

Is there a way to plug that value in to the SLA config of that Service Desk Projects.



under SLAs in SD, "Time to First Response":

JQL: issuetype = Incident AND Service = A

Goal: "SELECT timetoassign from service where id = 1;" (the SQL used to get TTA from the Service DB)



We have Jira Software and Service Desk running on a in-house server. 

1 answer

Hi @Jamie Williams ,

With a bit of scripting, I believe this is achievable with Time to SLA's Dynamic Duration feature. Basically, what I'm suggesting is that extracting those values from the database and setting the dynamic duration field accordingly with a script. How are these timetoassign values translate to Jira? Is there a custom field or these values are in a different database?dynamic duration issue view.pngdynamic du.png


The script that I'm talking about can be a modified version of this: Link 

Let me know if you have any questions.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Do Not Lose your Customer’s Trust

Missing deadlines is one of the biggest problems every team lead wants to avoid when dealing with managed services. When the customer contracts your company to help with IT services it is expected th...

289 views 0 1
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you