Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,563
Community Members
 
Community Events
165
Community Groups

Using smart value of custom field in automation rule not working

Trying to create an automation rule (Scheduled) that will read in the value from a numeric custom field and use that in the JQL to figure out if the issue was last updated beyond a certain period of time (whatever the custom field value is set to).

status = "Hold For Feedback" AND updated < -{{issue.fields.customfield_10303.value}}d

This is the error that gets produced:

 

Error running query for scheduled JQL trigger:
"(status = "Hold For Feedback" AND updated < -d) AND (project in (10146)) AND (updated >= -2m)" - Date value '-d' for field 'updated' is invalid. Valid formats include: 'yyyy/MM/dd HH:mm', 'yyyy-MM-dd HH:mm', 'yyyy/MM/dd', 'yyyy-MM-dd', or a period format e.g. '-5d', '4w 2d'.

1 answer

0 votes
Mikael Sandberg Community Leader Jun 23, 2022

Hi @Gary Spross,

Welcome to Atlassian Community!

Try use {{issue.customfield_10303}} instead and see if that helps.  

Hey Mikael! Tried {{issue.customfield_10303}}. Same error message.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,573 views 37 45
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you