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,559,638
Community Members
 
Community Events
185
Community Groups

Jira Automation setting Team field based on project

Afternoon all,

 

We would like to use automation to set the team field based on the project the issue is created in. I could add an if for each project (50plus), but was wondering if there is a quicker, smarter way to do this?

2 answers

1 accepted

0 votes
Answer accepted

So a very ugly workaround is to add the team value to the project name and then set a smart value by using substring on the project name to get the team number. 

Not the best solution. is there a way to retrieve the project description field?

 

or

 

in the json, could I add a lookup list e.g. list of project key and the team number it relates to?

so for example if project key = ABC then the team value from the look up list e.g. ABC = 123, would be used to set the 

for now I have settled for using the project description field which I prefix with a special Char to identify the team id saved in the project description field. You can retrieve data from this field using {{project.description}} as a smart value.

0 votes
Michael Wohlgemuth
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.
Mar 28, 2023

Greetings @Dillon Weyer .

what field type is the "team field"?

regards

It's the field created by Jira for plans and can't edit or view details as it's locked. If I query the field in JQL, the drop-down options are team names as entered, but once selected a numeric value is returned.

Suggest an answer

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

Atlassian Community Events