Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JSM - Create SLA Programmatically

Marina Ferraz McCashin October 21, 2021

Hi folks

I have been working through this tutorial here: https://developer.atlassian.com/server/jira/platform/creating-automation-rule-components/ but I am now at the next point where I want to create my own SLA. 

However, for all my research and poking around I don't believe this is possible. 

Can anyone confirm if I can programmatically create/install an SLA for projects in an addon? 

Is it possible to create an SLA using the REST API? 

Any feedback is appreciated. 

Thanks in advance

Marina. 

1 answer

2 votes
Joseph Chung Yin
Community Champion
October 21, 2021

@Marina Ferraz McCashin -

Instead of trying to create SLA rule outside of your JSM project.  Why don't you just create/configure SLA setup using the JSM project's SLA UI interface?

Project settings >> SLAs

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Marina Ferraz McCashin October 26, 2021

Hi @Joseph Chung Yin 

I actually have an app idea that I want to test out, but it relies on being able to create the SLAs, the auto-rules around them and then perform certain actions from there.

It's something I'm hoping to put on the marketplace so asking the users to create the SLA using the UI really doesn't work from a user perspective. 

Thanks for the suggestion though! 

Marina. 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events