Force Users to add Issue Link When Resolving as Duplicate

What is the best way to force users to add issue link when resolving as duplicate?

 

 

2 answers

Tricky. I have something that sort of does this:

  1. Create a workflow transition used only for resolving duplicates or other resolutions that require an issue link
  2. Edit that transition to add a Field is Required validator, and put Linked Issue as required

It's not fool-proof, as you can't be certain that the issue link is Duplicate, and it requires a custom transition. It's better than nothing though, and I don't know any other out-of-the-box solution for that.

The Scriptrunner plugin would allow you to script your own validator.

https://jamieechlin.atlassian.net/wiki/display/GRV/Script+Runner#ScriptRunner-Conditions,Validators,Post-Functions

 

This does solution not work because "Linked Issue" is not a field that can be manipulated with Validators out of the box. When selecting the Field is Required Validator, the Linked Issue field does not show up in the list.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 15 hours ago in Jira

How you can achieve compact and easy-to-maintain workflows in your JIRA( Server)

This approach requires you to have the JIRA administrative rights. The main aim of this article is to help you achieve an organized, easy-to-maintain workflows in your JIRA instance thereby, reducin...

143 views 0 0
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you