Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira automation with Zendesk count

Mathilde Courtat February 15, 2022

Hi,

I would like to create an automation to get an email when the field "Zendesk count" reaches 50.
Can you help me ?

 

Thanks

Mathilde

 

 

 

Capture d’écran 2022-02-15 à 17.56.54.png Capture d’écran 2022-02-15 à 17.57.25.png

3 answers

1 accepted

1 vote
Answer accepted
Sachin Dhamale
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 15, 2022

@Mathilde Courtat 

Automation Rule will be Trigger > Condition > Action. See Bellow

Send Email.png

Accept the Answer if it helps

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 15, 2022 edited

Hi @Mathilde Courtat 

In the rule image you posted, the Send Email action is outside of the branch...and so the email will always send regardless of the count.  To make it conditional, move the Send Email action inside the branch and after the Condition test.

Kind regards,
Bill

Mathilde Courtat February 16, 2022

Hi Bill,

Would it work better that way? 

I've tried it and didn't receive an email.

 

Thank you for your help,

Mathilde

Capture d’écran 2022-02-16 à 17.49.37.png

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 16, 2022

Hi, Mathilde.

Your image does not match what I was describing.  What I meant was based upon your initial rule image with the branch.  Please note that I suggested moving the send email action into the branch nesting.

  • trigger: field value changes
  • branch: on current issue
    • condition: value is greater than 50
    • action: send email
  • ...more steps if needed..

Of note:

  1. You only need the branch on current issue if you plan to more steps in your rule later...otherwise it can be dropped as you have shown and @Sachin Dhamale described
  2. If your rule without the branch is still not sending the email, something else is happening.  Perhaps your field is not numeric type, and so the comparison against "50" is performing an alphanumeric comparison rather than a numeric one.  You can fix that by converting and using an advanced comparison on {{issue.Zendesk Ticket Count.asNumber}}

And if that still doesn't work please let me know, as there may be another possibility: a calculated field from an addon.

Mathilde Courtat March 1, 2022 edited

Sorry for my late reply.

I've tried several ways, but this automation doesn't seem to work. I do not plan to have more steps in the rule.

 

I want to receive an email anytime an issue on Jira has the field, Zendesk count greater than 50. 

 

Do you think it's possible ?

 

Thank you for your help

Capture d’écran 2022-03-01 à 15.35.43.png

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 1, 2022

Hi @Mathilde Courtat 

Let's try creating a new very simple rule to learn what is happening.

  • trigger: manual
  • action: log to the audit log the value {{issue.Zendesk Ticket Count}}

Then find an issue you expect to have a count and run the rule from the issue (under the lightning bolt icon).  When you check the log, what value is shown?

If nothing is shown, it is possible that is not the correct name for the field's smart value.  You can confirm the smart value by following the steps in this how-to article: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Thanks,
Bill

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 15, 2022

Is the value of the Zendesk Count field equal to or greater than 50 for JBR-104?

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events