Forums

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

Need to transition work item if target start date is within 14 days

Rafael Miranda
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!
May 8, 2025

I've tried multiple ways but for some reason i just can't get this to work and it is always showing conflicts. Could someone provide some feedback please?

If an issue is sitting in the TO-DO and the target start date is approaching (within 14 days), then this is to be transitioned into ALLOCATED and automatically assigned to someone.

 

2025-05-08 15_34_38-Audit log - Automation - MOC Testing Schedule - Jira — Mozilla Firefox.png

2 answers

1 accepted

1 vote
Answer accepted
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.
May 8, 2025

Hi @Rafael Miranda -- Welcome to the Atlassian Community!

Although that error message is not super clear, it does indicate the problem: the rule has no work items to process.

The Scheduled Trigger can process with or without work items.  When you want the rule to process specific ones, please add a JQL statement to the trigger.

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

 

I recommend pausing to create the JQL outside of the rule and testing it.  That will likely allow you to write the rule without any conditions as the JQL will find them all.  To learn more about writing JQL, please see this documentation:

https://support.atlassian.com/jira-software-cloud/docs/search-for-issues-in-jira/

 

Kind regards,
Bill

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.
May 17, 2025

Hi @Rafael Miranda 

Just following up to check if this answered your question.  If so, please consider marking this one as "answered".  That will help others with a similar need find solutions faster.  If not, please let the community know what help you need with the rule changes.

Thanks!

Like Rafael Miranda likes this
Rafael Miranda
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!
May 20, 2025

Thanks Bill, the JQL statement worked!

Like Bill Sheboy likes this
0 votes
Mathew Lederman
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.
May 8, 2025

@Rafael Miranda I haven't tested this, but I believe you're just missing a "For Each" Branch in your rule as noted in the error message. I would suggest something like this:

image.png

Rick Westbrock
Contributor
May 12, 2025

I don't think the branch is necessary if the scheduled trigger includes a JQL expression as mentioned by Bill.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events