I have created 2 custom field date fields (baseline date and due date)
I have also created a third custom numeric field called variance.
How can I get the following result
baseline date - 15 Apr 2021
due date - 30 Apr 2021
variance in days is -15
I have been trying automation but no luck. appreciate if you can provide solution thanks
thanks Joseph What I need is a variance in date fields .. since there is no function for data 1-date 2 , i had to use a third field. I would ideally like to manage it out of box - with no extra plugins but if there is no way out then I will have to apply the plugin thanks
@hdave -
Can you confirm what application are you referring? Jira Software or JSM? In addition, what is your env type? (CLOUD or Data Center)
Best, Joseph
If the user's env is JSM cloud (non-premier account), then I don't believe Automation for Jira is a auto add-ons. Anything associated with DC or server env, Automation for Jira is a separate paid add-on.
Best, Joseph
I think It is available of Cloud standard @Joseph Chung Yin , but has restrictions on Multi Project and Global rule executions. Agreed plug-in for non-cloud 👍
Definitely be good to know exactly what setup @hdave is using.
Using Automation for Jira you should be able to populate your variance field by putting something like this in it.
As in, use the edit issue action, select the Variance field and add:
{{(issue.baseline date).diff(issue.due date).days.abs}}
Then hit "enter" on your keyboard (to make it stick)
Have a look at this page for further assistance Smart values - date and time functions | Jira Software Cloud | Atlassian Support
@hdave I'm a Product Manager on the Jira Software team, I'd love to get a deeper understanding of what you're looking to achieve with these calculations in Jira Software. Could you drop me a message at r swami @ atlassian . com and we can arrange a call to discuss?