New to advanced JQL here - hoping you can help me with this question. When I want to use the days syntax, what is the difference between using "-1D" and "1D"?
For instance, my full JQL is issuetype = "Hardware Refresh" AND status changed FROM OPEN TO ("Awaiting Shipping Notification") AFTER "1D", but it's not returning anything, even though the status on the ticket was changed yesterday.
issuetype = "Hardware Refresh" AND status changed FROM OPEN TO ("Awaiting Shipping Notification") AFTER "-1D" does return that ticket.
Thank you in advance,
Scott
"1D" is interpreted as "+1d" so in your instance it would be looking into the future which would not be deterministic here. I believe you are looking for "-1d" here but it depends on your actual goal.
You might find the following documentation useful as well - what-is-advanced-searching-in-jira-cloud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Jack Brickey
With Automation, I'm looking to add a comment 10 days after the issue is transitioned from Open to status "Awaiting Shipping Notification".
Scott
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So you would need to create a custom date field to 'record' the date the issue enters the ASN status. This would be done with one rule triggered by transitioning to ASN. Then the second rule would be for adding the comment if the 'entered ASN' date is 10d > created date. Note I'm assuming that the created date works here as the starting point for open status.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.