Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Another date question, this time lookupObects query

Ste404
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.
July 17, 2024

Hi,

In an assets object I have Next Event (which is a date).  I have Event Notification (a number).

What I want to do is in a lookup objects return the events whose event date is within now and the event notification days.

So this works.

"Event date" < now(14d) and Status = "Active"

BUT the 14d isn't a constant and I need that to be whatever the value is in the attribute.

Is this possible?

2 answers

0 votes
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 17, 2024

Hi @Ste404 

You need first of all to create an asset object field which will reference that specific object. Then you will be able to get its attribute and use smart values to add it to {{now}}.

0 votes
Adolfo Casari
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.
July 17, 2024

I believe you will have to do that using smartvalues in your rule. Just read all the objects (with status= Active) and filter out with those 2 parameters. See this:

https://community.atlassian.com/t5/Jira-Service-Management/Increase-number-of-months-based-on-a-smart-value/qaq-p/2756707

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events