I want to increment a custom field when an issue is created, but I don't want it to increment if the issue is created by cloning; it should remain the same as the main issue.
I've attempted to create an automation for this purpose, but it's not functioning as intended. I'm open to any suggestions on how to improve it.
Please find the automation rule:
The 'Edit Issue' block in the 'if' and 'else' conditions are the same:
The 'Set Entity Property' block in the 'else' condition:"
Thank you,
Hi Arooba,
Set the field with a default value of 0.
For the existing issues, do a bulk change and set the value to 0 for all of the ones that have an empty value. Then run it again.
Hello @Arooba Al Siyabi
Whats not working?
Is Clone check working correctly? That is, issue CR Number is being edited?
If only the increment logic is not working, Have you tried to increment the entity property manually, that is giving below smart value:
{{#=}} {{project.properties.sequence}} + 1 {{/}}
Please try and also share audit log of a run and share which logic was supposed to be invoked (cloned/or not).
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Kalyan Sattaluri ,
The problem occurs when I first create a request; the CR number is not updated. It will be updated when I clone the request for the first time. If I create another request, it will remain the same.
Please finds an example:
Thank you,
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.