Force Users to add Issue Link When Resolving as Duplicate

randyz July 27, 2015

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

 

 

2 answers

0 votes
Vijay Khacharia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 28, 2015
0 votes
Nicolas Bourdages
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 28, 2015

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

 

Steve Terelmes December 20, 2017

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