Hi,
We need to create a rule
I need to create a rule that is capable of adding a faithful custom called Story Point (Portfolio) of all the tasks of the Story and Task type, and the sum is displayed in a field called Current Story Point, located in the Epic.
Hi @Ismael Vicente-Zabalegui -- Welcome to the Atlassian Community!
Adding to Trudy's answer...
If you want to sum a custom field and save the result in another issue, you cannot use the Lookup Issues action; that action does not support custom fields for the Data Center version of automation rules yet: https://jira.atlassian.com/browse/JIRAAUTOSERVER-877
The possible workarounds depend upon your rule structure, and you likely would need to call the REST API issue search with JQL, using the Send Web Request action, and then sum the field from the web response.
Kind regards,
Bill