Forums

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

Jira Automation to be only triggered by some user

ORG_Admin_ENSOC_JIRA
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 29, 2024

I have a automation rule set to send out email when a new comment has been created. 
I aslo have a mail handler to create a comment in JIRA when email is being received.
So that i can have sync content in both email and JIRA.

However, we will be using the commenting function vigorously and rapidly. So if we allow the rule to be trigger every time when a new comment has been created, it will exceed our automation limit. 

To solve this problem, we need to only add a exception to the automation rule. Which will be not allowing a specific user to trigger this rule. This user will be the default actor creating the comment from Mail handler. 

I cant seem to find any way to disallow a user to perform a rule.

2 answers

1 vote
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 30, 2024

Hi @ORG_Admin_ENSOC_JIRA -- Welcome to the Atlassian Community!

The smart value {{initiator}} may be used with conditions to limit the rule actions:

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-users/#--initiator--

The rule will still trigger, but if it performs no actions which count for usage it will not consume a usage count.  Please review the documentation on automation limits to better understand how usage is calculated:

https://www.atlassian.com/blog/announcements/cloud-automation-packaging-update

https://support.atlassian.com/cloud-automation/docs/automation-service-limits/

Kind regards,
Bill

0 votes
Mohanraj Thangamuthu
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 29, 2024

Hello, Good day. On the automation rule after the trigger you can add a condition to check the user who made the comment. Please add a screenshot of your rule.

Suggest an answer

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

Atlassian Community Events