Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Changes to any of the "number of forms" fields doesn't trigger the rule

krunoslav_majer January 9, 2024

Heyhey,

hope someone can help.

AIM
I want to inform my JSM customers about a new form being added to their ticket via a comment so they can fill and submit it. We realized that some customers with certain notification settings were not informed about a new form added so we want to do it this way.

HOW
As there is no built in "form added to issues" trigger I looked around and found 3 fields which contain form "statistics" and I am simply reacting to a change of this field.

PROBLEM
The rule is never triggered.
I checked the scope, execution capacity and if the fields really change. All is fine and yet it doesn't work. For me it sounds like a bug as I bet forms are treated differently but it should still work because the field is updated.

DETAILS
The field I use: Open forms

Screenshots of the rule setup and details:
SCR-20240109-mdjh.pngSCR-20240109-mdlm.pngSCR-20240109-mdkf.png

Happy for any help or confirmation of this "Bug".

2 answers

0 votes
Rebekka Heilmann _viadee_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 12, 2024

I am with you as far as the "Bug" goes.

I logged the field value and it definitely changes when adding and submitting forms. It's not logged in the issue's history though, so my guess is, that Jira doesn't store old/new values and therefore doesn't trigger

This is how you access the "before" value and it looks like that depends on the changelog: Solved: How to get the previous value of the field in jira... (atlassian.com)

 

Buggy behaviour nonetheless as the field should either not be available in the trigger or work as expected. Are you on a Standard tier? Then open a request with the official Atlassian Support

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.
January 9, 2024

Hi @krunoslav_majer 

First thing: I am not using JSM and so cannot test what I suggest.

Have you tried to use the generic Issue Updated trigger to see if that will start the rule?

Then you could use this how-to article to determine if the field / information about forms is available to automation rules, accessible as a smart value or custom field: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Kind regards,
Bill

krunoslav_majer January 11, 2024

Hi @Bill Sheboy 

First of all THX for having a look.

If with "generic Issue Updated trigger" you mean the trigger on a field change then yes, this is what I use currently and the rule isn't even triggered. It feels almost like its used as a scripted field change when one uses ScriptRunner.

I hope someone from the AUtomation team sees this one, otherwise I will create a support request.

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.
January 11, 2024

This is the trigger I meant, as it requires no field selection / configuration to fire:

https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/#Issue-updated

If you are on a paid license (i.e., Standard, Premium, or Enterprise), you could also work with your Jira Site Admin to ping the Atlassian Support team to ask: https://support.atlassian.com/contact/#/

Like krunoslav_majer likes this
krunoslav_majer January 12, 2024

@Bill Sheboy 

THX, unfortunately this trigger is too broad for me and I can't check within the rule if it was triggered due to the addition of a form.

I am a Site Admin and yesterday opened a ticket :)
Will add an update here so others can see it too.

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.
February 4, 2024

Hi @krunoslav_majer 

Just following up to ask if you learned an answer from Atlassian support yet.  Thanks!

Kind regards,
Bill

 

 

andrew_pass
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 17, 2024

Any luck with this? We want to do this exact thing as well and it feels a pretty basic bit of functionality...

 

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events