Assistance on the automation

Dhanush May 16, 2023

Hello guys, 

We currently have an requirement to capture the count the issue has been re-opened from "closed" to "In progress".

We have a Custom field of number type to capture the count. And we have an automation in place to capture the count.

I am having problem with the capturing the count if the transition is happening more than once. As the value still shows 1.

Screenshot 2023-05-16 175500.jpg

Any inputs would be much appreciated. 

Regards,
Dhanush

2 answers

1 accepted

4 votes
Answer accepted
Flavien Gache
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 16, 2023

I think you have two fields.

Issue re-open Count

Issue Reopen Count

You are updating one with the other in your example. Try to use the same.

Tell me if it helps you.

Dhanush May 16, 2023

Hey Flavein, Thank you for pointing that out.

That seemed to have solved the issue. 

Regards,
Dhanush

Flavien Gache
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 16, 2023

Great ! Good day to you :D

0 votes
Fernando Eugênio da Silva
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 16, 2023

@Dhanush 

Two things here:

1: I suggest you set the default value to 0 (zero) in the field, just for the count to start from 0 and not from none (empty field).

2: The smartvalue doesn't seem to match the field name.

Field name: Issue re-open Count

Smartvalue: {{issue.Reopen Count}}

Do you notice the difference? It should be something like: {{issue.Issue re-open Count}} + 1

Or even better, I suggest you use field ID instead of field Name, it's safer.

In the end, it will just look like this with the field ID: {{issue.customfield_XXXX}} + 1

This should be enough to fix the issue you are experiencing.

If it still doesn't work, let us know :)

Regards,

Fernando

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events