Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,902
Community Members
 
Community Events
168
Community Groups

Can a linked issue in jsm stop an issue from being marked done?

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?

2 answers

1 vote

@Ronnie Jennings -

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 

https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=cloud&tab=overview

or 

JWME by Appfires

https://marketplace.atlassian.com/apps/292/jira-misc-workflow-extensions-jmwe?tab=overview&hosting=cloud

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Depending on your situation (and the actual relationship between the two issues), the approach described in the link below might be applicable:

How to prevent issues from being closed while the sub-tasks are still open in Jira 

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events