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 edited

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
atlassian, team ’25 europe, early bird extension, conference discount, barcelona, hybrid event, AI teamwork, early bird pass, digital access, collaboration conference, atlassian events, register now, developer conference

1 week left to save on your Team '25 Europe pass

Still thinking about joining us for Team '25 Europe? Early bird has been extended for just one week! Now’s the time to lock in your lowest rate. Use code TEU25COMM-20 to save 20% at checkout. Hurry, this only lasts for 1 more week.

Learn more
AUG Leaders

Atlassian Community Events