Examples of Insight Automation Rule Configuration

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Purpose

This page is to share examples of Insight Automation rule configuration


ScenarioExample ConfigurationExplanation
Check for expired license periodically and send email if license expires

WHEN
Scheduled event

IF
"License End Date" < now() AND "License Status" not in ("retired", "expired")

THEN

  • Send email
  • Attribute value - set "License Status" to "expired"

Search for "License End Date" that just expired, send an email and update the "License Status" accordingly

AccountExpires is a Microsoft Active Directory AttributeType and represents the date when a Microsoft Active Directory account expires. For account that never expires, it has a default value of 0 or 0x7FFFFFFFFFFFFFFF (9223372036854775807). If this is mapped with an attribute of type date time, the value will be 12/Apr/62 1:47 AM. We'd like to import only the non-default values.

WHEN
Object created

IF
objectType=Employee AND "Account Expires" < "1919-01-01 00:01"

THEN

Attribute value - clear the value of "Account Expires"


We can make use of the an automation rule to check if an Employee object type is created and the "Account Expires" is before year 1919, empty the value

For our documentation on this topic please check:

Or check our Atlassian Community for answers and tips or to post a question.


DescriptionExamples of Insight Automation Rules
ProductJira Service Management

Last modified on Nov 21, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.