I have setup a Automation for status change and what i found is if the Assignee chases a issue it changes the status.
For example, status is currently set to Waiting for Customer, Assignee chases the Reporter as no response has been had, the status then changes to Waiting for Support.
I cannot find how to prevent the status from changing when the Assignee comments twice in a row.
Thanks
Hi @Ryan Peirce and welcome to the community!
Can you please share a screen shot of the rule so we can have a fuller understanding of the challenge you're facing?
Hi Mark,
Many thanks for coming back to me, please see below rule as requested. It is nothing to fancy as i am new to jira automations, but would love to figure out how to get it to stop changing if i comment twice in a row.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok - So if I understand correctly, you're trying to get it to transition to Waiting for Support if the comment author was the customer and Waiting for Customer if the comment author was the agent. If I'm correct with this assumption, you'll want to make the following tweaks:
{{comment.author}}
equals
{{issue.assignee}}
{{comment.internal}}
equals
false
{{comment.author}}
equals
{{issue.reporter}}
With these changes, each time a comment comes in, it will evaluate who made the comment against their role on the issue.
Because your trigger is set to all comments, this rule will always execute, even if the agent added multiple comments in a row. However, it should do nothing on the subsequent executions because the status is already set accordingly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark, yes your understanding is correct and currently that is what it is doing.
I will give the tweaks a go and see what happens.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Morning Mark,
Sorry for the late reply, i was of with COVID the whole of last week. But on my return i can say since i made the recommend changes, all is working as it should.
The status does not change when an agent adds multiple comments in a row.
Many thanks for the help on this one.
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.