Forums

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

How to validate version based on their order seq in the version hub using Scriptrunner?

Teja
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.
May 9, 2019

Hi Experts,

I have custom version field named 'Target Version' and I would like to validate the 'Target Version' field based on their order sequence in the version hub. one unreleased version from bottom up in the order. example 19.2.9 and 19.3.0 unreleased version, user should be able to select 19.2.9. I know we have Boolean validator earliestUnrelease version function but the problem with this is 19.2.9 and 19.3.0 are the same release date and 19.3.0 has earlier start date than 19.2.9.

Any help would do.

Thanks in advance

 

 

1 answer

0 votes
Teja
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.
May 31, 2019

Can we use getSequence() function to get first unreleased version in the version hub, I don't know how to use this function.

Please need help.

Suggest an answer

Log in or Sign up to answer