Goal:
Automatically calculate the number of days between the "Date of reception" and "Proposed date" fields.
And the numbers of days between the "Proposed Date" and "Opportunity presentation date"
Details:
Example:
Same rule will be applied for Opportunity presentation date.
Thank you
Hi @kempili bhargavi -- Welcome to the Atlassian Community!
What have you tried thus far to solve this need?
If you have a rule that is not working as expected, please post images of the rule and the audit log details, and explain what is not working. Those will provide context for the community to offer suggestions.
If you have not started a rule, I encourage you to try to do so. The Atlassian Community is a place for people with related interests to learn and collaborate with one another. It is not a free labor pool to implement requests upon demand. If you regularly need help with rules, please work with your Jira Site Admin to learn more.
To get you started on creating your rule, please refer to these documentation and example sources:
Kind regards,
Bill
Hi there! 👋
You can achieve this using Jira Automation by setting up rules to calculate the difference between your date fields. Here’s a step-by-step guide:
Use the Field Value Changed trigger for the fields involved in the calculation (e.g., "Date of Reception," "Proposed Date," or "Opportunity Presentation Date"). This ensures the rule runs whenever any of these fields are updated.
Add a "Value field" condition to check that both date fields have values before performing the calculation. For example:
Repeat similar conditions for "Days Difference 2."
Use the Edit Issue action to calculate and store the difference in your custom number field. You can use this smart value for the calculation:
{{Proposed Date.diff(Date of Reception).days}}
{{Opportunity Presentation Date.diff(Proposed Date).days}}
If you need to reset the field when one of the dates is cleared, use an IF/ELSE block to set the field to blank when either date is empty.
Kind Regards
Utkarsh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @kempili bhargavi Welcome to Atlassian Community!
Use this smartvalue to get difference between date fields
: {{issue.duedate.diff(issue.customfield_10178).days}}
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.