Forums

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

Jira Automation Rule testing jira custom field sourced from Assets

Joseph Chung Yin
Community Champion
January 16, 2023

Hello my community and community leaders:

I have a case trying to setup a condition in my Automation rule to test against a Jira custom field (sourced from Assets schema).  After rounds of testing + audit logging, I am stuck.

The custom field name is DomainTest (customfield-25900) it is sourced/configured pulling from Assets schema into my Jira issue.

From the audit log, I used 

Field name is {{issue.fields.customfield_25900}}

It returns the following - Field name is Common Platform (GBO-504419)

The field value is "Common Platform"  (See image below)

2023-01-16_17-42-26.png

However, if I try to incorporate this field in my condition testing (i.e. equals/contains etc) against the value above, the condition fails and thus no logging action executed.

Example -

2023-01-16_17-41-47.png

This is what I am getting in the rule audit log entry -

2023-01-16_17-44-11.png

For some reason, I am missing something.  This automation rule setup is against our Jira/JSM Data Center envs.

Any advise or hint?

Thanks, Joseph Chung Yin (Community Leader)

1 answer

1 vote
Darryl Lee
Community Champion
January 16, 2023

I would try doing some tests with Audit logs, seeing what is output when you do:

{{issue.customfield_25900.Name}}

And also:

{{issue.customfield_25900}}

 

Suggest an answer

Log in or Sign up to answer