Forums

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

how to make rule for reopen the ticket?

mshehba March 23, 2022

Hello Team,

I have a question related to rule "Reopen issue when the author comments".

The problem is when i closed the ticket and right after that user/ customer write any feedback comment on it. The ticket gets open again and move to in process, that's quit wierd. i want to excute that rule but with the limited scope of comments like for normal feedback it should remain closed but if user/customer write some specific keywords in the comment i.e esclation, reopen , not satisfied with the support then it should get reopen, Is this possible?

If yes, then would appreciate your answers and feedback it. Thank you.

 

4 answers

0 votes
mshehba April 5, 2022

Here are rules, i am using right now.2022-03-10 09_39_31-This PC.png

0 votes
mshehba April 5, 2022

@Mark Segall these are the rules i am using right now and all are activated.

0 votes
mshehba April 4, 2022

@Mark Segall These are four rules, i am working with and all are activated.download (1).png

0 votes
Mark Segall
Community Champion
March 23, 2022

Hi @mshehba and welcome to the community!

Yes, you can do this with an added advanced compare condition against the comment body that performs a regex for keywords.  If the regex doesn't match, the rule exits, otherwise it proceeds with the rule.  Here's an example where I'm looking for "reopen" in the comment body:

2022-03-23_13-42-44.png

mshehba March 30, 2022

Hi @Mark Segall Really appreciate your help on this topic.

I tried the same but it is not making any difference.

download (1).png

 

here is the result snap,

2022-03-10 09_39_31-This PC.png

 

Would be glad to get the response on it. Thank you

Mark Segall
Community Champion
March 30, 2022

strange. This works in my test environment.   Can you please share a screenshot of the rule's audit log?

mshehba March 31, 2022
mshehba March 31, 2022

i just change it and try to make a copy of your's. but this didn't make any difference.

Mark Segall
Community Champion
March 31, 2022

Your screenshot only shows that the rule has been configured.  That tells me it is not triggering.  What does the project scope look like?

mshehba April 4, 2022

Screenshot of new Logs.2022-03-10 09_39_31-This PC.png

mshehba April 5, 2022

@Mark Segall hello, what do you mean with project scope?

Mark Segall
Community Champion
April 5, 2022

Sorry for the delay (busy work week)

I see your log shows "No Actions Performed".  This means that the issue is failing a condition.  Can you please click the "show more" link and share the results so we can see which condition is failing?

Project scope is set under rule details.  However, I see that shouldn't be the problem based upon one of the later screen shots you shared.

mshehba April 5, 2022

No worries, really appreciate your support on this topic so far. Here are the details of the audit logsScreenshot 2022-03-08 154913.png

Mark Segall
Community Champion
April 5, 2022

According to the logs it looks like there's a user condition failing.  Make sure that the rule actor (on the rule details screen - Usually Jira Automation) has at least the following permissions in the project scheme:

  • browse projects
  • transition issues
mshehba April 5, 2022

@Mark Segall i just change the actor from Jira automation, But there is no effect, if i did wrong please correct me. And please also guide with solution of user condition failing? Thank you.

2022-03-10 09_39_31-This PC.png

Mark Segall
Community Champion
April 5, 2022

This one is a head scratcher.  The audit log is still showing a failed user condition when you changed the actor?

mshehba April 5, 2022

Yes, it is still failing the user condition.

Mark Segall
Community Champion
April 5, 2022

And your rule is exactly the same as the one I shared or do you have additional conditions?  If the rule is different, please share a screenshot of all the rules so we can see if there's another tweak that needs to be made.

mshehba April 5, 2022

download (1).png

Mark Segall
Community Champion
April 5, 2022

I just tweaked my rule in my test environment and it's working without fail each time.  The failed user condition is what's really stumping me with your flow.  I'm assuming you are able to manually transition the issue from Completed to Work In Progress without issue, correct?

mshehba April 5, 2022

Yes its possible to manually transit itdownload (1).png

Mark Segall
Community Champion
April 5, 2022

One item that looks off to me is the first condition.  "Satus is same Completed". Can you please share a screenshot of the details of that condition?

mshehba April 6, 2022

@Mark Segall Details of the condition.download (1).png

Mark Segall
Community Champion
April 6, 2022

I'm completely stumped on this one.  Every element of your rule looks correct, your workflow seems correct as well since you can transition manually to Work In Progress.  Unfortunately, we've exhausted every possible cause that I can think of.

mshehba April 11, 2022

@Mark Segall hi is there any possiblity of arranging an online session for checking the jira settings and rule policies?

Suggest an answer

Log in or Sign up to answer