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,556,715
Community Members
 
Community Events
184
Community Groups

Smart value of Team name for an issue

I am trying to get the Team name smart value from the issue. Looking at the api the teams is a custom field that is only returning a numeric id and no name or description. What could be the reason for that? 

My Jira admin said that teams is a system field and therefore is different than a custom field. If that is true then is there a way to get the name of the team as a smart value? 


Screen Shot 2022-01-14 at 3.21.20 PM.png

2 answers

Try {{issue.customfield_12313240.id, "18888"}}

that will not work because as you can see from the json the custom field does not have an id variable. 

And also I am trying to get the name of the team instead of the id. 

0 votes
Kristján Geir Mathiesen
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 14, 2022

Hi @Harmeet Singh 

Not sure but have you tried .id or .value behind the custom field? Like:

{{issue.customfield_12313240.value}}

You could also take a look at this documentation -> https://support.atlassian.com/cloud-automation/docs/jira-smart-values-lists/ 

HTH,
KGM

Hey @Kristján Geir Mathiesen ,

Yes I have tried that and since that api does not have the custom field as an object therefore the id and value is just null. 

Kristján Geir Mathiesen
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 14, 2022

Sorry @Harmeet Singh  then I am stumped :/

Hope someone can help you out,

KGM

Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 17, 2022

Hi @Harmeet Singh

I am under the impression that Teams is still in EAP and, as such, isn't supported by Automation yet.

Cheers,

Simeon.

Suggest an answer

Log in or Sign up to answer