Forums

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

Automation rule to update a field when a Test Step is added or modified

Margaret Medon August 17, 2021

I'd like to create an automation rule that updates my custom field Automation Status from "Automation - Complete" to"Automation - Needs Review" when a test step is added or an existing test step is modified.  

So far I've been able to update the status based on the ticket itself being updated, but I need to isolate it to the Test Steps.  or at a minimum exclude whenever a test is added to a test plan.  

Any suggestions?

1 answer

0 votes
Bill Sheboy
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 Leaders.
August 18, 2021

Hi @Margaret Medon 

Full disclosure that I am not using the XRay app, so others in the community may have a better answer.

When you add test steps the issued updated trigger is firing, so you should be able to detect that change:

  • If you can select that specific field in the trigger, that is probably a good approach
  • If not, try a condition to check the change log to compare fromString and toString for the field to note a change

Sometimes the names of the smart values for fields have non-obvious names/capitalization.  To find the field you want this how-to article may help: https://support.atlassian.com/jira-software-cloud/docs/find-the-smart-value-for-a-field/

Best regards,
Bill

Suggest an answer

Log in or Sign up to answer