Update Asset Field Based on Date

Dennis Nguyen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 3, 2025

We are working on getting our equipment in Jira Assets. Our equipment needs regular service. 

Our equipment has the following statuses: In Service, Out of Service, Overdue, and retired.

The goal is to have the status update on its own based on the service due date. For example, if we are passed the service due date, the status of the equipment would change to overdue. 

Does anyone have an example for me to follow so I can set this up?

1 answer

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 3, 2025

Hello @Dennis Nguyen 

Welcome to the Atlassian community.

Are you familiar with Automation Rules?

https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/

Are you familiar with Asset Query Language (AQL)?

https://support.atlassian.com/jira-service-management-cloud/docs/use-jira-and-assets-query-languages-with-assets/

 

You could set up a scheduled rule to run daily.

In it you would execute a FOR AQL branch and select the assets of interest; i.e. the assets where "due date" is less than now() and the status is In Service.

Under the branch you would use an Edit Object action to update the status of each of those objects to Overdue.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events