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

Team field

Liz T November 30, 2023

We just recently upgraded to Jira Service Management Premium. Today we turned on the Teams feature and created a Team.

I would like to create an automation that if Person X or Person Y is assigned to a ticket, then the Team field for their particular issue is updated with the Team they are on.

Is that possible? Is there a permission I need to turn on, because presently, it doesn't seem that I can use the Team field within an automation?

team_field.png

2 answers

1 accepted

2 votes
Answer accepted
Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 30, 2023

Hi @Liz T 

The Team field isn't available as a direct field in Automation, but you can still access it via the Advanced option.

---

Prerequisite 

You'll need the Team custom field ID, and the Team ID.

Custom Field ID...

  • Go to Settings (cog icon in top-right) > Issues
  • Select Custom Fields from the left-hand menu
  • Search for the "Team" field
  • Next, select the breadcrumbs (...) in line with the field, and choose View field information
  • The ID is in the URL - eg. ?customFieldId=10001

And Team ID...

  • On the top navigation bar, select Teams > Search people and teams
  • Locate and select your Team
  • The ID is in the URL, and is a long alphanumeric phrase - eg. /team/5p4894e7-1ef5-6wp1-8erq-7r3hgq43ej9q

---

The Rule

The rule then might look like this...

  • Trigger: Issue Assigned
  • Condition: User Condition
    • User = Assignee
    • Check to Perform = is
    • Criteria = User1, User2
  • Action: Edit Issue
    • More Options...
      • Advanced...
        • {
          "fields": {
          "customfield_10001":"5p4894e7-1ef5-6wp1-8erq-7r3hgq43ej9q"

          }
          }

---

Let us know if this works for you!

Ste

Liz T November 30, 2023

@Ste Wrightit worked! I had a feeling I had to do the advanced update, but didn't know how to find the information I needed for each field so I REALLY appreciate that you pointed me to how to find the custom field id and team id. Thank you so much!!

Like # people like this
Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 30, 2023

No worries, glad it works! :)

Ste

Elliot Jones April 9, 2024

Thank you SO much for sharing this!

Like Ste Wright likes this
0 votes
Ayushi Saxena June 4, 2024

Hello
Can we still not use Teams directly to automation? Any idea?

Bu the way thanks @Ste Wright  for your answer, it helps!

Elliot Jones July 9, 2024

No native support for the field which really is painful, let's hope it's coming soon. Even Teams showing up as smart values in the JQL searches seems bizarre to me. 

We are leveraging the Team field so so much, since we can consolidate other silo'd "projects" into our core game projects. For example, we're killing off "Marketing" Projects, in favour of creating tickets in their respective game projects but then making sure the Team field is Marketing. 

Suggest an answer

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

Atlassian Community Events