Where do I document an issue found related to a story? Where do I document an issue not related to a story but is NOT in production?

If I am testing a story and find an issue related to this story, where should I document this issue? Does this go into the story or is it a new bug?

Also, if I find an issue that is not an issue in production but is an issue that cannot be traced back to a story, where do I document this issue?
Inappropriate?
1 person has this question

User_default_medium