The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to create ticket when asset expires

John Scheffer
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!
November 15, 2023

Hi,

We have some licenses in our asset database with an expiration date (ID 98).
I would like to receive a Jira service desk ticket 14 days before the expiration date
How can I turn this into an automation rule?

licenties.png

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Curt Holley
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 Champions.
November 16, 2023

Hi @John Scheffer 
Welcome to the community!

Create a rule with the scheduled trigger, set it for as often as you desire/require (daily perhaps).
Then do a lookupObjects action using AQL to find the Objects that will expire within the next 14 days.

Do an advanced branch on smart value {{lookupObjects}} and then do the Create issue action on the branch. This will create an issue for each object returned from the lookup.

This will get the basics going, but it gets more complicated if you want to update the object as well via automation, where an AQL branch is required, but that makes it harder to grab the object attributes for the issue.

I recommend, start simple and see how that goes.

John Scheffer
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!
November 23, 2023

Hi Curt,

Thanks for your response. I will try it and let you know

TAGS
AUG Leaders

Atlassian Community Events