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

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

Default value for Team field when creating new issues

Associating issues to Teams is a crucial part to making advanced roadmaps work. As far as I can see, the best way to do so, is set up teams as shared teams as much as possible and then assign the team to an issue at issue creation.

In our setup, nearly all Jira projects are managed by a core team. The odd task may be assigned to a different team, but as this is more the exception than the rule, I would like to have a default value for the team (pre-populated if possible, filled out automatically if no team is selected otherwise).

However, it seems that the Team custom field is locked and does not allow for configuration changes. And the built-in automation does not support setting the team field - it is not available there.

I know I can make the Team field required upon issue creation, but would really like to help the user here by filling out data we already know in over 90% of the cases for him/her.

Looking for suggestions or workarounds.

1 answer

1 accepted

1 vote
Answer accepted

Hi @Walter Buggenhout _ACA IT_ 

You do need to use a Shared Team, to make it available to set from a Jira issue.

I don't think you can pre-populate on the Create screen, but this is how I populated it during creation using Automation.



You need to use the Team field's custom field ID, and the Team's ID during the rule.

To get the Team field's ID:

  1. Go to Settings (cog icon in top-right) > Issues
  2. Select "Custom fields" from the left-hand menu
  3. Search for the Team field, then select the 3-dots icon on the right-hand side of the field's row and choose "View field information"
  4. Note down the custom field's ID from the URL - eg. customFieldId=10123

To get the Team ID:

  1. Go to Filters > Advanced issue search
  2. Using JQL, enter Team then select the field (Team [Team])
  3. Enter =, then begin to type the name of the relevant Team
  4. Select the Team from the drop-down list, and its ID will be placed in the search bar in place of the name. Take a note of this ID - eg. "Team[Team]" = 5

You can also get the Team ID from a CSV export



Go to Automation, and choose to create a new rule. Set the components as follows:

  • Trigger: Issue Created
  • Action: Edit Issue

In Edit Issue, select "More Options" then in the Additional Fields section enter:

"fields": {


^ In this example, 10123 is the Team field's custom field ID, and 5 is the Team ID

Give the rule a name, then publish it.


This should set the Team field to the required option just after creation!


I have implemented and tested this successfully! Thx @Stephen Wright _Elabor8_ - big consistency gain and major time saver!

This was incredibly helpful and did exactly what I was wanting it to. Thanks! 

Has anyone figured out how to do this with a transition post action?

Hi @David Holman 

You could modify this rule to make that scenario work - by changing the Trigger from Issue Created to Issue Transitioned.

It might be possible in a post-function also; what's the use case?


I was trying to avoid post-function because workflows are so painful to update over time. Automating on the transition got things working ✔️

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Marketplace Apps & Integrations

🌐 BigPicture-Marketplace Apps Atlympics

Hello Atlympics, here a market place app that's a game changer given the features and excellent support.  Link to the tool:  Bigpicture project management ppm plugin How did yo...

10 views 0 0
Read article

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