ATF Test - Related List: Query to only show the ATF Test created for the current story
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2023 09:14 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2023 09:25 PM - edited 08-03-2023 09:25 PM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2023 06:57 AM
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?