Forums

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

Can we enable / disable project Automation rules thru API ?

bponnapalli
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 1, 2020

We have Project automation rules that needs to be enable /disabled time to time. Can we do it thru Rest API rather than using GUI all the time ?

 

Thanks  

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 1, 2020

Hi @bponnapalli -- Welcome to the Atlassian Community!

Doing a quick search of the REST API reference, it does not appear that configuring automation rules is included:  https://developer.atlassian.com/cloud/jira/platform/rest/v3/#version

I also checked and I could not find any feature suggestions to add this yet.

Question: why do you want to disable the rules from time to time?  If this is something which is quantifiable, could you either adjust the rules or run them on a schedule?

 

Best regards,

Bill

bponnapalli
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 1, 2020

Hi Bill , thanks  ! I didn't notice schedule option before but it would not help in my case. 

He have On-call roaster schedule.  So I want the Issues to be assigned oncall person.  9a-5p , 5pm-9am basics. 

Looked at OpsGenie but trying to figure out something  RestAPI based in JiraCloud for just this one simple task. 

Rigo
Contributor
January 4, 2024

@bponnapalli did you find any solution to this?

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 7, 2024

Hi @Rigo 

There is no public REST API function to enable / disable rules yet.  Please follow / vote for this suggestion to see progress on that request: https://jira.atlassian.com/browse/AUTO-51

Kind regards,
Bill

Like Rigo likes this

Suggest an answer

Log in or Sign up to answer