Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to validate issuekey provided in linked issue field is bug type while duplicate transition

Dayanand
Contributor
November 19, 2023

Hi all,

We have transition called duplicate when use clicks it window opens with field Linked Issue then  user choose as duplicate value then we will have another field call Issue (issue searchable field ) for this field how we write validator or scriptrunner script to validate that enter key is bug type then only transition otherwise through error massage (refer attached screenshot for more)

image.png

1 answer

0 votes
shetty
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 Champions.
November 13, 2018

there is one way of doing this in post-function by selecting clear field option after transition

but if you want to clear the existing field then you have to make transition

I know only one way of doing this, don't have idea about add-on through which you can achieve this

Joachim Schittenhelm
November 14, 2018

Hi Ramesh,

that is not really what I need. I generally know how to clear values with a transition, but

- I do not want to do a transition

- I should just be cleared IF the value is older than 6 months.

 

Perfect would be, if the issues with old values could easily be found via JQL (probably not possible) or via the API.

Best regards

Joachim

Suggest an answer

Log in or Sign up to answer