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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,578
Community Members
 
Community Events
176
Community Groups

What smart value can I use to @ a Team?

I would like to create an automation where the smart value comments and tags a team instead of one person - what smart value can I use to creat this correctly?

2 answers

0 votes
Curt Holley Community Leader Apr 28, 2022

This is interesting (and part of the problem with the term "Team" in the Atlassian universe currently).

@Jack Brickey has focused on the notion of a team in the People section of Jira or confluence. Which I suspect is what you are after @Andra Vilcea ?? as that is a way of notifying them from the automation rule. 

Where @Bill Sheboy is referencing the Jira premium/Advanced Roadmaps "Team" field. Which is the field used to add/remove teams created via the "Shared teams" concept in Advanced Roadmaps.

Confusing!!!! Indeed!
The good news is, Atlassian are aware of this confusion and it is being addressed (sometime) this year.

I realise I haven't provided any solution for this.....good idea! But thought it worth clarifying that 2 different "Team" concepts have been discussed here.

Thanks, Curt!

0 votes

Hi @Andra Vilcea , welcome to the community.

So I haven't tried mentioning teams before, only users. I just spent a few minutes trying to figure it out but was unsuccessful. I thought I would share my results in case it helps you or others figure it out. It may not be possible as yet. Or maybe I'm doing something wrong.

So if you want to mention individuals in automation you cannot simply use the @username method. Rather you must use the accountId like below.

[~accountId:557058:ce791733-445e-45e2-a768-3a6h055j074e]

Understanding this I attempted to retrieve the Account ID for the team buy scarfing it from the URL to the team page as below.

https://acmeCO.atlassian.net/jira/people/437078:cf791783-425j-45j3-a409-6g6b055k074e

however 

[~accountId:437078:cf791783-425j-45j3-a409-6g6b055k074e]

did not work. So my guess is the you cannott mention Teams OR I have the wrong accountId. I may keep playing with this as I have time.

Hey @Jack Brickey ! Thanks so much for looking into this. What if we create a variable? Would that work? I'm just not sure how to add the ID into it.

Jack Brickey Community Leader Apr 28, 2022

I’m not following you on adding a variable could you explain further?

It appears you can create a variable to use it as a smart value:

CreateVariable.JPG

Jack Brickey Community Leader Apr 28, 2022

Ah, I see. While I haven't tried it yet I don't expect that will work either. Fundamentally, I don't believe that the account ID associated with the team is resolved to the list of team members. If you note when you do an at team mention in a comment it will show a link with the team name and then resolve all of the team members at least that's been my experience. I'm going to reach out to a number of Community leader colleagues to see if they have any experience with this.

HI @Andra Vilcea 

Some yes, and... items for Jack's reply:

There are several open requests in this area, starting with there is no public REST API function to get the team/advanced roadmap data, and so there are no automation smart values/functions to use them:

As a work-around, if your people were listed in a group, you could grab their information via the REST API using a webrequest and then build the mention string for the set.

I simpler, although maintenance requiring, approach is to also store the team information in an entity property and then use it.

Kind regards,
Bill

Like Jack Brickey likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events