Forums

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

How to choose the right trigger for automation rule

Stanislav Kotakov August 25, 2023

I received the following issue :

All Epics in project should have the Requires Documentation checkbox.
The checkbox should be mandatory when creating Epics.
The checkbox must have 2 possible options to be selected: Yes and No. If Yes is selected, a Story should be automatically created under the Epic (with relation Documents). The name of the Story should start with DocStory_the name of the epic.

So i came up with quite simple rule.

EpicAutoStory.png

It runs smoothly .

Then the second request came in :

But can you please add this automatic creation also when updating Epics?

This time i chose Issue updated for rule trigger but it doesn't execute . 

1 answer

1 accepted

1 vote
Answer accepted
Iresh Rupasinghe
Contributor
August 25, 2023

I think you can solved the issue  in following steps.

Here's a step-by-step guide for creating this rule:

a. Go to your Jira project.
b. Click on "Project settings" (cog icon) and select "Automation."
c. Click on "Create rule."
d. Select a "Manual trigger" for this rule, as it will be triggered when you manually edit an Epic. You can choose an option like "When an issue is transitioned" or "When an issue is updated."
e. Set up the rule conditions to check if the Epic's "Requires Documentation" checkbox has been set to "Yes" during the update. This will depend on the automation tool's capabilities, as it might involve using JQL conditions or scripting.

Stanislav Kotakov August 25, 2023

Thank you !

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