I 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 on the jira cloud.
Field 1 : start date (Date Picker)
Field 2 : end date (Date Picker)
Field 3 . total number of days. (Text Field)
Expected result:
Filed 3 = field 2 - field 1
I have tried script runner as well but there are limitation on using script runner on the cloud. i was not able to import the issue class package on the cloud.
is there any other work around for this ?