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

Block Automation Rule execution on REST API Request

Is there any possibility to block Automation rule execution after REST Request?
I would like to heave possibility to update Jira through REST without triggering automation rules.
Is thos possible? Anybody knows how to do it?

1 answer

1 vote
Alex Koxaras Community Leader Jun 17, 2022

Ηι @Grzegorz Ostrowski ,

I don't think this is possible. I haven't done it and from what I know from this issue, there is also an open request for having REST API to control JA.

My problem is that I would like to have option in rest request like "notifyUsers" in issue update request. Option to disable automation rule trigger only for this request change. I dont think that this ticket covers this scenario. But thanks for answer.

Alex Koxaras Community Leader Jun 17, 2022

@Grzegorz Ostrowski the ticket I provided covers the "disable automation rule" you are talking about.

Yes, I see this, but it is about disabling autmation rule permamently, not only for one request. This ticket is about ability to control Enabled switch in automation rule from rest API. Ok this could be usefull in my case but there is tiny posibility that when I disable the rules to execute my other request some user in Jira will do somethin what should trigger automation rule.

Hi @Grzegorz Ostrowski 

Adding onto Alex's answer: what problem are you trying to solve by doing this?

Knowing that information may help the community to offer suggestions.  For example, perhaps instead your rule could have a trigger/condition based upon the presence of issue data, and so eliminate the need to disable a rule: instead just change the issue data.

Kind regards,

Like James Navin likes this

I am writing integration between Jira and ERP system. I am using automation rules to send data to ERP on worklog, issue change/add. But when I send data on issue/worklog change from ERP to Jira it triggers automation rules. Sometimes automation rule is triggered before i get response on my request to Jira. For me it is difficult to handle this scenarios. Maybe there is other possibility to pass data to Jira without triggering automation rules. Of course there are webhooks, but they will be triggered by worklog/issue update through rest too.

Without seeing your specific automation rule, I wonder if you can alter the trigger or perhaps add a condition on the {{initiator}} user to prevent the rule processing under those conditions.

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,860 views 37 49
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