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

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


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


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!


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
Community Members
Community Events
Community Groups

Updating customfields by roles via REST API

Hello everyone!
I need to update the field through the api, which is tracked by roles, to be more precise, the field is divided into 2 roles: developer and tester, and I want to update only the developer field, for example. Is there any way I can do this with python requests? I didn't find an answer to this question in the documentation.

1 answer

0 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 24, 2022


Welcome to the communty

What do you mean by "the field is divided into 2 role" ? There is only two project role that can edit the field ?

If you need to update an issue using the API you can do it using this

the field that I need to change looks like this

"customfield": [
"Role: Developer (240(4m) | 240(4m))",
"Role: Tester (null | null)"

and I want to update only the developer's time like

curl \
   -D- \
   -u user:password \
   -X PUT \
   --data "{'fields': {'customfield': ['Role: Developer (300(5m) | 300(5m))', 'Role: Tester (null | null)']}}" \
   -H "Content-Type: application/json" \

  but i get internal error, other customfields are successfully updated this way

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events