Hi community!
I have this automation configured with JMWE when I create a bug. My goal is to update the field "Número de bugs" with the amount of bugs an issue had. But using this value {{ issue.fields.customfield + 1 }}, it only adds once, It doesn't sum after the first bug, so in the field, always remains 1. What am I doing wrong?
Hi @Jaqueline da Silva Nicolau
since this post function is created on the Create transition, it will run whenever an issue is created, and add 1 to its "Número de bugs" custom field. But since the issue is new, it will always start with 0 (in fact, not even 0 but no value at all).
Can you describe what you're trying to achieve?
the information on top is hided, but the field "Numero de Bugs" is a field from the parent of the bug, and the automation is to set this field when (trigger) a bug is created
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.
I see. In that case, you need to read the field of the parent issue, which is the target issue, and add 1. So the value should be:
{{targetIssue.fields.customfield_15670 + 1}}
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.
Heya @Jaqueline da Silva Nicolau ,
Have you tried to create a filter for specific project and an issue type of bug. Then to create a dashboard which will use that filter? Seems like a simpler option, if of course that would suit you
Cheers,
Nikola
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I already have that kind of information, but in addition to that, I need to know how many bugs in total were created per developer, since in the task I have a field to save the developer name, I added a field to count the number of subtasks (bugs only) so I can use both information to generate a Two Dimensional Filter Statistic with the developer and number of bugs fields. But the number of bugs field is not working (the automation).
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.