Hi,
I try to create an Automation using Code Barrel Automation. I'd like to update the value of an issue custom field when an abacus field (calculated field) change value.
In the screen you can see my test.
Thanks
Hey Valentina,
We'd be happy to work with you to try and resolve whatever issue you are running into. If you email abacus-service-desk@mumosystems.com or raise a ticket in our help desk we'd be happy to help you with your set up.
Thanks,
Kian
@Valentina Malavolta we are currently working on a feature to set a custom field value when an Abacus field changes. We have a release coming this week, the feature you desire should be released in the next release after that. Please stay tuned for updates.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Josh Ginger-Goodson there is somethings else that I can do? My customer need urgently this features. Thanks a lot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Without being able to do this directly in Abacus, I think you should still be able to achieve this with the Automation plugin. I think this is what you are looking for:
Now this screenshot shows how to set a hardcoded value within the advanced field option, but I think smart fields still work. so you're looking for something like:
{ "fields": { "customfield_[totale_adempimento_field_id]": "{{issue.customfield_10905.value" } }
Where [totale_adempimento_field_id] is the custom field ID for that field.
Here is also a reference to using advanced fields: https://docs.codebarrel.io/automation/smart-fields/advanced-fields.html
Let me know if this helps.
Thanks,
Josh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Josh,
I try your suggestion:
I think that the automation work, I can see it in Audit Log
But the custom field 'Totale Adempimento' is not update :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry Valentina, but I missed this issue.
I think you are close to the solution.
To make it simpler I'd use the field from the field selector and just put the smart value in there.
I'm not sure of the exact format from Abacus but it may not have a "value".
Try the smart value:
{{issue.Your Customfield Name}}
Just replace the "Your Customfield Name" with the name of the custom field you want to copy.
If that doesn't work, can you add a "Log action" before the Edit issue action with following value:
{{issue.Your Customfield Name}} || {{issue.Your Customfiel Name.value}}
Take a screenshot and copy that here.
Also, what value does the field have when you go to:
<yourinstance>/rest/api/latest/issue/<issue key>
That is value we are trying to navigate.
Cheers,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Josh Ginger-Goodson, Just wondering if the feature to set a custom field value when an Abacus field changes has been released yet? I'm hoping this will solve my issue: I would like the custom field calculation to be re-executed on all issues if the related formula in Abacus has been updated.. is this possible? Thanks :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rachel,
At the moment, this is not the feature that is being developed. We will add that as a feature in our backlog.
If you want to recalculate all your tickets after changing a formula, you should be able to do this with the following process:
1) Modify the execution plan containing the changed formula to be triggered on "issue comment" event.
2) Bulk update tickets in your project with a comment. This should cause tickets to recalculate for you.
After you've done that, you should be able to revert your execution plan to what it was before. It's not the nicest process at the moment. We would like to get something better out soon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.