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,300,023
Community Members
 
Community Events
165
Community Groups

How to create an automation for assigning a team to the tickets created in a certain project?

Objective:

Get Advanced roadmaps to display all the items in a certain project with projected sprints.

Screen Shot 2022-03-24 at 1.55.35 PM.png

Actions taken:

I have created a project specific Advanced Roadmap. As far as I know, in order to see the sprints and projected sprints on top of the roadmap, I needed to group by Team. I have created a Team in Jira.

 

Problem:

When trying to set up automation to set the Team field to “Loyalty” for all the new issues, Jira only allows to select “Team[Dropdown]” and not “Team[Team]“. I’ve tried doing it via JSON too, but it doesn’t recognize the field any way I’m putting it and I don't have the field ID, as it's not a custom field.

What I see when selecting the Team field in the automation:

Screen Shot 2022-03-24 at 1.59.56 PM.png

What I want to see is the Shared Teams we have configured in Jira for the organization:

Screen Shot 2022-03-24 at 2.01.35 PM.png

 

Expected result:

Any issue that is created in the project updates the little progress bar on the sprint in Advanced Roadmaps.

1 answer

You have to set the team using the team number, like I show below. If you need to figure out how to get your team number for a team, take a look at my answer in this post: Locating your team number SetTeamNumber.PNG

I really appreciate your response. Unfortunately, that was one of the variations I've tried before and it brings me this error.

Screen Shot 2022-03-28 at 8.49.28 AM.png

I've tried this with and without spaces, with and without quotes, lower case and uppercase and camel case. Any syntax I've tried brings the same error: Additional fields contains invalid field(s) in 'update' or 'fields' section: Team

 

The screenshot below confirms that the team number is correct. I'm getting the 228 issues as I should be.

Screen Shot 2022-03-28 at 8.52.11 AM.png

I'm probably missing something stupid, so I'd really appreciate your guidance.

Hello there!

I took some screen shots for you in hopes that these will guide you on assigning a specific team when an issue is created.

In my example, I automatically assign all new bugs to a specific team. The team is number 177 (a.k.a. POC Team A).

Here are the three screens:

1. The configuration screen for the automation showing the Team field being set to 177.

2. The Audit log showing a new bug being added.

3. The resulting issue screen showing that the new bug has the team set to 'POC Team A'.

Bug1.PNG

Bug2.PNG

 

Bug3.PNG

Diana - Did this work for you?

Hi @Rick Olson, I appreciate the follow up. As per my 2nd comment, I have already tried that (and retried just now). The validation on this query fails.

{
"fields": {
"Team" : "14"
}
}

 Here's the screenshot.Screen Shot 2022-05-30 at 11.52.23 AM.png

In the comment above I have also attached a screenshot confirming the team number is correct.

I have tried to make the rule specific to an issue type. That doesn't work either. Same validation error.

Can you post your query here, so that I can try just by copy pasting? I really don't know what else to do :(

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

340 views 2 9
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