Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Wanting to automate to add to a custom field

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.

2 answers

1 accepted

1 vote
Answer accepted

Hi @Michael Cannon 

@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.

Screenshot 2021-02-17 at 22.19.30.png

If you only want a single user in the "TS Participants" field, use the example in the following screenshot.

Screenshot 2021-02-17 at 22.23.44.png

Hi @Michael Cannon 

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.

https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you