This is my first automation using smart time values; I want to create an automation to calculate time logged as the difference between when the issue is created and when it is closed. Background - these are typically 5-10 minutes tasks. So, the trigger is when the issue is transitioned to Done:
Date started: {{issue.created}}
Time spent: {{now.diff(issue.created).minutes}}
Work description: Completed {{issue.key}}
Wheat am I doing wrong here? Thanks.
Hello @Charlie Wright
Welcome to the Atlassian community.
When asking for help with an automation it will help us help you if you provide the following:
1. Screen images showing your entire rule and the details of each step.
2. The details from the rule execution log
3. A description in your words of how the results don't match your expectations.
Is the information you provide the entries for a Log Work action?
Do you get a new worklog entry on the issue? If you do, what value is being shown for time spent?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The result I am seeking is a time entry for work performed on the issue that is equal to the difference between when the issue was created and when it was closed: issues are reported be end users in Teams, whereupon the support team creates the Jira ticket using the Teams-Jira integration, actions the request, and closes the Jira ticket, all in Teams. Yes, the goal is to move the requests to Jira Service Management but the organization is not ready for that yet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share your solution so others can learn from your experience? If you create a separate Answer thread you can also Accept your own Answer to mark your question as Solved. That helps others find posts with verified solutions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.