I'm trying to link two issues.
What I'm looking for is the proper way to have one issue depend on the other. I want it to depend on each other in the fact that for example if you have issue with 123 and issue 321 I would want issue 123 to stop issue 321 from being marked down. Kind of it was block from going to the next transition. Is there a way to do that?
Welcome to the community. Yes, you will need to customize your project's WF associated with the issue type that your request type is based on by adding a Validator setup, so it can prevent the issue from being CLOSED if its linked issues are not resolved. This can be done (with minimum coding required) if you have the following add-ons which I highly recommend -
Scriptrunner for Jira by Adaptavist
JWME by Appfires
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Infrastructure Applications Team
Depending on your situation (and the actual relationship between the two issues), the approach described in the link below might be applicable:
This prevents an issue being closed when sub-tasks are still open, and would not require a 3rd party app.
A variation of the approach described by @Joseph Chung Yin.