I am utilizing the Automation feature to auto assign an issue to an admin one first comment. That portion is working great, however I am attempting to add a validator that ONLY assigns on the first comment from an admin and that's where I'm hung up.
I assume I will have to add a condition using the "Advanced Compare Condition" but spinning my wheels trying to figure out the proper "Smart value" to utilize.
Current structure of the automation tree: When issue is commented -> Compare two values (stuck here looking for proper smart value) -> Initiator is in: Administrators -> Then: Assign the issue to user who triggered event.
Any help would be much appreciated, thanks in advance!
Thanks for reaching out Esther,
currently the way it's set up it is assigning on comments, however it's assigning on EVERY comment. So if one Admin comments on the case it assigns to them, then another admin comments it re-assigns to the second admin.
I'm hoping I can first get the trigger to validate that the comment it's triggering off of is the first comment, and any subsequent comments it doesn't trigger and re-assign.
Ah, OK. Thanks for clarifying. There are a couple of ways you might be able to manage this. The first would be to set a field or label when it's assigned the first time, and use the existence/value of the field/label as a condition.
The other option, which would be invisible to users, is to set an entity property on the ticket, which could then be used in your comparison. Check out this previous answer, which details how to do it.
The 2020 acquisition of Mindville added powerful asset and configuration management capabilities to Jira Service Management in the form of Insight. Following the completion of that integration, custo...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events