would like to write a script which calclautes the differnce between two date fields and display the result as number of days in a custom text field.
Field 1 : start date
Field 2 : end date
Field 3 . total number of days.
Expected result:
Filed 3 = field 2 - field 1
after a lot of search and suggestions i chose the script runner plugin. But i dont understand how this script runner plugin works and where should i start writing my script.
Insights will be much helpful for a newbie