Ok, so when we create a ticket we have a field custom field called TS Participant. Of course this is a group of nothing but TS users. What I am wanting to do is if someone is mentioned (@mention) in a comment on the ticket, to take that person and add to that field automatically.
Currently the workflow is we escalate the ticket, the person on call for that group tells us who in the group to assign to and puts it back waiting on the service desk. Then we manually put that person in the TS Participant field and escalate back to the group.
I am wanting to automate this so it cuts down on the ticket time.
@mentions are represented in Jira in the following format: [~userid] so you could achieve this quite easily by using a smart value to extract the user id from the comment body and apply it to a User picker field.
The sample rule below assumes you have a multi-user picker and want to append the user mentioned in the comment to that list.
If you only want a single user in the "TS Participants" field, use the example in the following screenshot.
I see you are using Jira Server, so I do not know if this article will fully help...This describes using Automation for Jira, the send web request action, and the REST API to add a new value to a custom field/selection list.
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.