Forums

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

Is there a way to restrict the automation rule to trigger via REST API call?

Jira November 9, 2022

I have a JIRA automation rule to update comment on custom field change in JIRA. The rule is also triggering when the custom field is changed via REST API in JIRA. i want to restrict the trigger via REST API. Is there any way to do so?

1 answer

1 accepted

1 vote
Answer accepted
Tom Lister
Community Champion
November 10, 2022

Hi @Jira 

Jira will notify updates with the same mechanism regardless of the way it was triggered.

If you have a specific system user accessing via REST API you may be able to use the {{initiator}} smart value to select by user. i.e. select or ignore the API user.

Stephen Wrathall
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 14, 2022

Thanks @Tom Lister, expanding on your helpful suggestion, you could use that {{initiator}} smart value like this, for instance:

initiator.png

Like Tom Lister likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events