Auto Populate a custom field

Sravan Kumar July 12, 2017

Hello Guys,
I am trying to Auto populate a Custom Field using the Script runner plug-in, is it possible? In my case i want the custom field "Fix Version"(used to enter the release date its a drop down field) to auto populate the current version(ABC) when a user moves the ticket from resolved to closed transition. Any help would be greatly appreciated.

Thanks

2 answers

1 vote
Gaston Valente
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 12, 2017

Hi, you need to use a Script Post Function.

Here you can find some examples that use the fields you need to set

 

https://scriptrunner.adaptavist.com/5.0.2/jira/recipes/workflow/postfunctions/set-issue-attributes.html

 

 

0 votes
Sravan Kumar July 17, 2017

Thank you. I was able to do that by going through the above link.

Suggest an answer

Log in or Sign up to answer