Forums

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

How to add a test to a test set if label is added

Dennis Colburn
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 12, 2022

I'm trying to create the following automation rule, but having trouble with the implementation using Jira automation.

 

If the label "regression" is added to a Test,

Then add the Test to a specific Test Set

 

I'm able to implement steps to trigger if a label is added to a new or existing Test and then checking if the label is "regression", but I'm not sure how to create an action to add the Test to a specific Test Set.

 

I'm not sure if this is possible or not.

 

Edit:  I think one solution might be adding an action to edit the Test's Test Sets field and add the specific Test Set.

1 answer

1 vote
Stefan Salzl
Community Champion
April 12, 2022

Hi @Dennis Colburn 

I‘m afraid this cannot be done with issue-related actions in jira automation. I would suggest to check if (if we are talking bout xray) API is capeable of adding a test to a test set and adding „send web-request“ action in the automation rule that fires the api call.

Hope this helps.

Best
Stefan

Dennis Colburn
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 14, 2022

Thanks.  I'll look into that.  

Suggest an answer

Log in or Sign up to answer