Need script for creating scripted custom field

siva June 4, 2021

Actually i am trying to create scripted custom field named as previous fixversion and it is version picker. So i need a script for to create this custom field.

Here the content 

When Fixversion is updated to new value, here i need old value that copy in to previous fixversion scripted custom field. For example if fix version is updated from 3.2 to 3.4 i want  3.2 version copied to custom field

Based on above content i need a script for copy old fixversion value to  Previous fixversion scripted custom field.

 

Thanks 

 

1 answer

1 accepted

1 vote
Answer accepted
Ioana
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.
June 4, 2021

Hi Siva,

I believe your question has been answered here:

https://community.atlassian.com/t5/Jira-questions/How-to-get-previous-changed-custom-field-data/qaq-p/829463

You should be able to create a Scripted Field with ScriptRunner and use the script provided in that thread.

Regards,

Ioana

Suggest an answer

Log in or Sign up to answer