Forums

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

how to get first 3 octat of fix version in another custom field

Fuego Coffee November 23, 2020

Dear Team,

I want to get the first 3 octets of the fix version in another custom field.

Examples:

Fix version is:10.3.2.1

The new custom field should have a value: 10.3.2.0

first 3 octets and then 0 in the last one.

Another example:

Fix version is: 12.4.2.3

New custom field: 12.4.2.0

 

1 answer

0 votes
David Fischer
Community Champion
November 23, 2020

At what point do you want to copy that value? During issue creation? During a transition? Or any time the fix versions field is modified? 

Also, which apps do you have installed for that?

Fuego Coffee November 23, 2020

the trigger event will be a transition.

The installed app is the script runner

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events