Assets automation, if the expiration date is less than 30 days away.

Sanchez, Rene
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!
April 20, 2023

Hi everyone,

I recently added some Azure resources as Asset objects to gain better control over their relationships/Dependency and other relevant data for my work team.

It's crucial for us to receive a notification prior to the expiry of the secret for the Azure App Registration.

I was wondering if there's any way to automate this.

Specifically, I'm looking for an Automation to create an issue if the secret is due to expire in less than 30 days.

Thank you for your help in advance 

Object Schema - Jira Service Management.png

1 answer

1 accepted

0 votes
Answer accepted
Sanchez, Rene
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!
April 21, 2023

Done! 

Einstellungen.png

Sean Kraft June 12, 2023

Are you doing any logic to prevent duplicate task creation?

René Ramón Sánchez Ramírez
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!
June 13, 2023

Not at the moment! 

Sean Kraft June 13, 2023

I did find a way to prevent duplicates by using the {{ObjectList.Key}} in the Summary field when creating the issue. Then I could lookup active issues and use an IF statement to determine if {{lookupissues.summary}} does not contain {{ObjectList.Key}} before creating the issue.

Could probably expand on this to add comments to existing issues as reminders, set status of objects based on ExpiryDate, ignore a "Retired" status, etc. if desired.

Screenshot 2023-06-13 at 8.07.47 AM.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events