Rule to change object attribute status when counting days since an activity

Lawrence Rawlins
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!
January 30, 2025

I want to create an automation rule to tell me when a task, maintenance for example is expiring/ approaching expiration based on when the last completed date was (weekly, monthly, annual). From that, I then want the rule to update the status field in the object attribute. I would like to apply this to all of my objects without having to create a rule for each individual object. I'm having issues understanding the correct AQL, JQL syntax to use. Any help or details is appreciated

1 answer

0 votes
Petru Simion _Simitech Ltd__
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 30, 2025

Hi @Lawrence Rawlins ,

 

Status is not an attribute that is changed like the value of a field.

Statuses are labels that are mapped to steps in workflows.

For simplicity usually the workflow step and the status have the same value such in To Do -> In Progress -> Done.

But keep in mind that the status and workflow step label could be different.

So statuses are first defined and then mapped to workflow steps.

When you want to change the value of a status you have to actually transition the issue from the existing workflow step to the step that your desired new status is mapped to.

A transition should exist in the workflow from the old step to the new one and you should have permission to execute that transition.

 

Regards, 

 

Petru

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events