Forums

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

Automation rule - Reopen on Comment can I specify length?

Heather Reid April 7, 2021

Hello,  we have a working automation rule that keeps tickets resolved when customer comments with "thank"  However, sometimes they then continue on with other information.  Is there a way to include a comment length?

Like comment is less than so many characters or words.

 

I've added a screen grab of our current rule set up.

jira automationm rule.JPG

Thank you so much!

Heather

1 answer

0 votes
Kian Stack Mumo Systems
Community Champion
April 7, 2021

Instead of using a legacy rule,  I would do a rule using Automation for Jira.

You can query for the comment length like this:

Screen Shot 2021-04-07 at 12.10.43 PM.png

Heather Reid April 7, 2021

I only have access to legacy rules, I'm not a super admin just a user with some elevated permissions.  Is there any way I can do it using the tools I'm allowed to access?

Kian Stack Mumo Systems
Community Champion
April 7, 2021

Project administrators have access to both sets of rules.

What do you see when you click on Project Settings > Automation?

You should see both of these:

Screen Shot 2021-04-07 at 12.16.15 PM.png

Heather Reid April 7, 2021

HI there,

 

I do not see that, perhaps I'm on a different version (v8.13.4)? jira automation menu.JPG

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.
April 7, 2021

Hi!

For server, aren't both the Lite (free) and Full (paid) versions of Automation for Jira add-ons?  So that would need to be installed by the admin first, correct?

Best regards,

Bill

Kian Stack Mumo Systems
Community Champion
April 7, 2021

@Bill Sheboy, thanks! For some reason I was thinking  she was on  Cloud!

Heather Reid April 8, 2021

Is there a way to do this without being on the Cloud?

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.
April 8, 2021

Hi @Heather Reid 

The syntax that @Kian Stack Mumo Systems suggested above with an advanced compare condition should work for server or cloud: {{issue.comments.last.body.length()}}

Check with your site admin if you can get the free version of Automation Lite added and then you should be able to do this.

Here are some additional examples and documentation to help:

https://marketplace.atlassian.com/apps/1211836/automation-for-jira-server-lite?hosting=server&tab=overview

https://www.atlassian.com/software/jira/automation-template-library#/label/all/1453

https://confluence.atlassian.com/automation/automation-for-jira-server-7-2-documentation-993924595.html

Suggest an answer

Log in or Sign up to answer