“It's a long story.”
You're frustrated because you've been having trouble with your visa paperwork. You're talking to a friend and mention your problems. He asks what happened, but you don't want to explain it all because it's a complicated problem. You say this because it will take too long to explain.
It's a long story.
"It's a long story" is an expression that people use when they don't want to explain something because it will take too long. You use it like this:
A: You guys broke up? Why?
B: (Sigh) It's a long story.
You can use this expression when someone asks you a question about something complicated, and you don't have time to explain it. Or if just don't want to explain something, you can also use this phrase.
When someone tells you "It's a long story" but you want to know more, you can say "Give me the short version":
A: What happened?
B: It's a long story.
A: Give me the short version.