Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,482
Community Members
 
Community Events
165
Community Groups

How to update Insight Object Attribute when linked Jira Issue Field Duedate is exceeded

Hello all,

we are trying to update the field of an Insight object (status field) when the due date of an issue associated with the object is passed.

What are the possibilities to do this? Does anyone have experience with this, which option is best for this as well?

Software and Addons:
Jira Server (Core, Service Management, Software).
Insight
Jira Automation

I hope someone can help me and thank you in advance for this! :)

1 answer

1 accepted

0 votes
Answer accepted

I think you can do this all within insight automation.

  • Go to your insight object schema configuration page and navigate to the Automation tab.
  • Create a new rule
  • Give it a name, description and some user with permission to change attributes
  • Add a trigger
    • Trigger = Scheduled Event
    • Condition = objectType= XXX and object Having connectedTickets(duedate < now() and resolution is empty) and Status != YYY
      • Where XXX is the object type you want to change
      • And YYY is the Status that you will change to (so you don't process them again)
    • Cron Expression: Some regular interval. Perhaps daily
  • Add an action
    • Action = Attribute Value
    • Attribute Name = Status
    • Value = YYY

Save the rule and wait for the specified interval to happen and watch your insight_automation.log

Thank you a lot! It worked. :)

@Peter-Dave Sheehan How can this same automation rule be generated in the Cloud?

I do not see an Automation Tab in the Object Schema Configuration for Cloud.

Sorry @Jenny Severin I have no experience with cloud.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you