can i fill in the number field with the difference in days between the date the task was created and the date it was solved.
using automation.
You can use the resolution date to indicate when your issue has been completed. For your requirement, however, the easiest way to do that is to use the diff function that is inherent on all date fields for Jira via automation.
So, if you want to test this out, you can try creating a manual automation trigger and set it up to comment on your issue, based on the outcome that you want. In this example, I have resolution date - created date with the format of days.
resolution date: {{resolutiondate}}
created date: {{issue.created}}
{{issue.created.diff(resolutiondate).days}}
For more info, you can refer to this Cloud automation documentation: Jira smart values - date and time | Cloud automation Cloud | Atlassian Support
I hope this helps!
Cheers,
Francis
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.