The CreatorCon Call for Content is officially open! Get started here.

ATF Test - Related List: Query to only show the ATF Test created for the current story

treybhicks
Tera Contributor

Hello,

 

I've created a Relationship that applies to the Story [rm_story] table and queries from the ATF Test [sys_atf_test] table and added the related list tab to the Story form. However, on the ATF Test related list tab when a user clicks 'New' to create a test, I'm looking to only show the Test that is created for the current story. The query I added in the second screenshot was just to remove all 161 of the out of the box ATF Test records from showing on the ATF tab. Is there a script/query to make this happen? 

 

#atf #story #relatedlist #query #scripting #agile #scrum #testing

2 REPLIES 2

Maik Skoddow
Tera Patron
Tera Patron

Hi

you ask for a solution without providing a clear requirement or more details. OOTB there is no relation between an ATF test and a story and thus you cannot display it on a related list. Or did you implement any customization you haven*t mentioned?

I understand there isn't an OOTB relationship between those 2 tables. That is why I mentioned I've created a Relationship that applies to the Story [rm_story] table and queries from the ATF Test [sys_atf_test] table. The screenshot of that is attached with the name 'atf relationship'. I mentioned that after I created this relationship, I added it as a related list to the story form, which is attached with the name 'atf related list screenshot'. 

I realize if I do not add any query, that newly created related list tab will show all 161 of the OOTB ATF Tests. I added a 'placeholder' query to remove the 161 OOTB ATF tests from showing on that related list. What I am asking is this - if I create an atf test from the related list on the current story, is there a query that will only show the test I just created for that story?