Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • How to create an automation rule that populates an attribute field when another attribute is changed

How to create an automation rule that populates an attribute field when another attribute is changed

Roberto Monge
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!
August 6, 2019

Using Jira Insight I would like to create an automation rule that triggers when an attribute I have named "End of Period Quantity" is updated. I would like two things to occur, populate a date attribute with the date that the change occurred and populate an integer attribute with the calculation between the "End of Period Quantity" and "Current Quantity". 

Is it possible to check an object's attribute history using groovy to accomplish this, if so, how? I've read through the Groovy scripting documentation but am having a hard time determining the capabilities of Insight Groovy scripting. 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events