Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to update team value for an issue

vykalra
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 29, 2025

Hi,

I want to update the team value for an issue. I tried both the following approaches using PUT operation on <>/ rest/api/3/issue

Approach 1:

 

{
    "fields": {
        "customfield_10001": {
            "id": "<corresponding id that I got from teams api>"
        }
    }
}
Approach 2:

 

{
   "update": {
    "customfield_10001": [
      {
        "set": {
          "value": "ERP_Technical"
        }
      }
    ]
  }
}

 but both do not work. Can someone help me with the correct json to update it?

1 answer

1 accepted

3 votes
Answer accepted
Trudy Claspill
Community Champion
January 29, 2025

Hello @vykalra 

Welcome to the Atlassian community.

This syntax should work:

{
"fields": {
"customfield_10100" : "{id}"
}
}

Replace customfield_10100 with the identifier for the Team field in your instance.

Replace {id} with the ID value of the Team.

vykalra
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 29, 2025

Thanks @Trudy , this works

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events