Forums

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

Mentioning a user in a custom field in an Issue Checklist Pro automation

Dani L
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 20, 2023

I installed Issue Checklist Pro and I'm trying to automate adding a checklist to an issue when it moves to a particular stage. I want a mention within the checklist text that pulls the user from a particular custom field so the team knows who is responsible for which checklist item. For example, checklist item 1 would have an @ at the end mentioning the user in the "custom field 1" field.

So far, I have been able to pull the account ID and display name from the user in the custom field using smart values, but I cannot figure out how to actually get it to tag the person. 

Is this even possible? If not, is there another checklist app / some other way I can do this without an insane amount of workarounds? I feel like it shouldn't be this hard to add a checklist and mention a user in it. See below for a couple of options I've tried in the automation and what it returns after running. I've also tried doing this with account ID but get the same problem.

Thank you in advance!!

 

checklist issue 1.PNG

 

checklist issue 2.1.PNG

3 answers

2 votes
Wojciech Wardaszko
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 21, 2023

Hi @Dani L 

Welcome to the Community!

You got it almost right! The Checklist Text custom field in our Issue Checklist Pro is a reflection of the checklist information stored on our external server. We do not store PII in checklist items, that's why Checklist Text cannot refer anyone by their Display Name. Instead, it needs the jira userID to reference someone, and Jira transforms that ID into the Display Name when checklist interface tries to display it.

That's why you need to refer to userID in the Checklist Text field to successfully mention someone, and the proper syntax is @accountID. 

Something like this should work:

* [] @{{issue.reporter.accountID}} please verify DoD

If you don't want to refer dynamically, you can use the ID directly, like this:

* [] @62812e49bdf2f30067d1d42b check this out! (That ID is mine and I'm not a user in your instance, so it won't work, but you get the idea ;) )

 

Hope this helps. Let me know if you run into any more issues.

1 vote
Oleksandr Siryi_Railsware_
Atlassian Partner
February 21, 2023

Hi, @Dani L 

 

I am from the Smart Checklist team. Our plugin also allows to mention a user in a template that is automatically applied. In your case of mentioning a user based on custom field value you should use @{{issue.customfield_10052.accountID}} and not of @{{issue.customfield_10052.displayName}}, given that customfield_10052 is the id of userpicker custom field type.

Hope this helps,


Alex

0 votes
John Funk
Community Champion
February 20, 2023

Hi Dani - Welcome to the Atlassian Community!

I think you might be trying to overengineer this one. Why not just list the person's name in the checklist instead of trying to do the @ ?

What are you envisioning that the @ is going to provide more than simply listing the person's name? 

Wojciech Wardaszko
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 21, 2023

@John Funk 
The mention functionality provides the ability to send an email notification in our Issue Checklist Pro :)

John Funk
Community Champion
February 21, 2023

Ah, very nice! Can you help him solve his issue then? 

Wojciech Wardaszko
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 21, 2023

Replied directly under the question :)

John Funk
Community Champion
February 21, 2023

I got ahead of myself.  :-)   

Thanks for jumping in here!

Like Wojciech Wardaszko likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events