The only way you can create a link between two issues is by doing it manually. In your case the issue type Test with User story.
Please follow the steps below to link issue type test to User story.
1 . Please open a Jira story or create one if none exists.
2. Click on "More" button and then click "Link" from the drop down menu.
3. Select the issue (in your case any issue of type Test) you wish to link it to the story.
4. Click the button "Link" at the bottom.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot