I have created a rule that should calculate the total sum of 2 separate fields (story points and "progress(%)") the result should appear in two new fields with the prompt "Total xxxxx" of each one, then I should divide those total values to send them to a field in the parent issue "HU - Progress(%)". My problem is that the "Total" fields are edited to "0" therefore they do not edit the "HU" field.
the customfield are Numeric type.
Hi @Enmanuel V_ -- Welcome to the Atlassian Community!
With Jira Data Center automation rules, the Lookup Issues action currently only supports a few fields, and it does not support custom fields: https://confluence.atlassian.com/automation/jira-smart-values-issues-993924860.html#Jirasmartvaluesissues-lookupissues-properties
Here is the suggestion to add those other fields, which you may watch / vote for to see progress: https://jira.atlassian.com/browse/JIRAAUTOSERVER-877
For your scenario, a workaround is: instead of using Lookup Issues, use the REST API to call an issue search with the same JQL, using the Send Web Request action. Then the fields could be summed from the web response.
If you want to try that approach, here is a how-to article for calling a REST API function from a rule and the function I believe is needed:
Kind regards,
Bill
Hi Bill, i didn't know that, thank you so much for your support, i will try to apply you option and see how it goes!
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.