Forums

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

Automation not triggering on adding watchers

Nagarjuna Busireddypally June 19, 2023

Hello,

I have encountered a strange situation in automation, hoping to find the solution here

We are having below automation rule which is working fine and now we need to have another rule 

Like When field named Business line (Drop down field with some values) updates with values and Promotion market (APAC)  (Drop down field with some values) updates automatically some watchers should be added.

If business line field set to "A" and Promotion market (APAC) set to "B" abc user should be added to watchers, Rule should run everytime Business line field updates

We tried approach like
a) When field value changes for business line

b) Condition promotion market Apac equals "B"

c) Business line equals "A"

Mange watchers action to add ABC user 

However rule is not triggering please help

We need to have both the rules

A1.png

2 answers

0 votes
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.
June 19, 2023

Hi @Nagarjuna Busireddypally 

You posted an image for your rule for issue create and not the rule for the change to the Business Line field.  Would you please post an image of that complete rule?  Thanks!

Kind regards,
Bill

Nagarjuna Busireddypally June 19, 2023

a2.png

This is the second rule which created

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.
June 19, 2023

Thanks for that information. 

How is the Business Line field changing: from a manual edit, from another automation rule change, or something else?

What is the scope of this rule: in a single project, or a global/multi-project rule?

Nagarjuna Busireddypally June 19, 2023

Hello @Bill Sheboy 

Thanks for the reply.

Scope is for single project.

Below are the rules for field value changed

Thank you

a3.png

Nagarjuna Busireddypally June 20, 2023

Hello

Could you please help me on this

Thank you

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.
June 20, 2023

I was asking "how" the field is changed: by a person doing so manually, by another rule, or something else.

Is this a custom field you have added, or is it from a marketplace addon to Jira?

And also please note: this is a community forum, where other customers offer help, and so people help when they have time.  If you need a faster, more urgent response, please contact the Atlassian Support team here: https://support.atlassian.com/contact/#/

Nagarjuna Busireddypally June 20, 2023

Hello @Bill Sheboy 

Thank you so much for your reply.

Field will be changed by users manually, when field value changed by users based on updated value watchers needs to be added

Thank you

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.
June 21, 2023

This seems like the change is not detected or a glitched rule (which can happen when a rule is edited/published too many times).

Just to confirm, is this a Jira software project, or something else?

Let's try this also: create a new rule in your project with only these steps:

  • trigger: field value changed for Business Line for any changes to the field; do not select any of the specific options for change types
  • action: write to the log something like "the field was changed"

Now change the field and observe if the rule is triggered.

Nagarjuna Busireddypally June 21, 2023

 

Hello @Bill Sheboy 

Thank you for your email.

I have tried the below and it is working.

What should we try next to achieve our original request 

b.png

Like Bill Sheboy likes this
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.
June 21, 2023

Now let's disable your original rule, and add the remaining steps to this one.  Then retest it to confirm it keeps working.

Nagarjuna Busireddypally June 21, 2023

Hello @Bill Sheboy 

Tried changing the rule as below and then it stopped working

b1.png

Thank you

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.
June 21, 2023

Did you change the trigger or leave it to run on all changes to the field?

Nagarjuna Busireddypally June 22, 2023

@Bill Sheboy I just leave it to run on all changes, below is the screenshotb3.png

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.
June 22, 2023

Okay, something is clearly different as the rule can trigger but appears to stop triggering when the rule is altered.

At this point I recommend contacting Atlassian Support to have them take a look.  They can see logging not available to customers, and so may have other suggestions.  https://support.atlassian.com/contact/#/  Please provide the support team a link to this thread to help explain what you have tried thus far.

When you hear back from them, please post what you learn to benefit the entire community.  Thanks!

0 votes
Jens Schumacher - Released_so
Community Champion
June 19, 2023

Are there any hints in the audit logs for the automation rule? 

Nagarjuna Busireddypally June 19, 2023

Nothing is showing in auditlog, it is not at all trigerringa2.png

Jens Schumacher
Contributor
June 20, 2023

Does the update of the field get triggered by another automation rule? 

Jens Schumacher - Released_so
Community Champion
June 20, 2023

Hi @Nagarjuna Busireddypally 

If the field is updated automatically by another automation, you might have to enable an additional setting, which exists to prevent infinite loops. 

Take a look at this thread: https://community.atlassian.com/t5/Automation-questions/Automation-when-field-changed-doesn-t-trigger-if-field-updated/qaq-p/2107789

Nagarjuna Busireddypally June 20, 2023

Hello @Jens Schumacher - Released_so 

Business line field will be updated by users manually, based on the value added watchers should be added.

Thank you

Jens Schumacher - Released_so
Community Champion
June 21, 2023

Are there any special characters in the field name? It appears your field name might have brackets as part of the name. In that case you will have to escape those brackets: 

"Custom field \(new\)"

https://confluence.atlassian.com/jirakb/automation-rule-not-triggered-by-field-edit-1224769586.html

Nagarjuna Busireddypally June 22, 2023

Hello @Jens Schumacher - Released_so 

Where do i need to manually input the field name, could you please help me with the detailed steps of the rule, where i to change because i have selected the field from the dropdown itself.

Thank you

Jens Schumacher - Released_so
Community Champion
June 28, 2023

@Nagarjuna Busireddypally That's just a guess based on the article I found above. 

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