HI,
I have a number field named "previous time spent", and i want to calculate the difference between this field and the timeSpent field. Using automation.
I tried to write :
{{issue.timeSpent}}-{{issue.customField_10076}}
where issue.customField_10076 : is the field that i've created
but it's not working : it writes me only the timeSpent !
please i need help ! thanks
did you check the output of value in your custom field?
i've fixed the problem.
The cause was that i had to use the math expression {{#=}}....{{/}}
for the smart values
exemple :
{{#=}}{{issue.Invoice Amount}} * 1.2{{/}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
cool.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, is this working also to calculate the resolution time of the tickets? For example the time between the creation time and the time the ticket was set as Resolved. I have followed the steps :
1. Create custom field (date time picker type or number type, tried with both of them)
2. Tried this with the following formula, but it is not working..
{{issue.solved.diff(issue.created).days}}
Any idea which might be the problem? I am using Jira server
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.
Get Certified! ✍️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.