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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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,551,881
Community Members
 
Community Events
184
Community Groups

How to know the structure of a customfield?

Henrique Silva
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!
May 24, 2023

I've been trying to create a script in Python that bulk creates issues based on some data given to it. Biggest problem i've ran into during development is how to structure things in the "issueUpdates"->"fields".

What i mean by that is i don't know how to structure the customfields content to be able to successfully run the request.

Example:customfield10003png.png

The createmetadata request returned a lot of info on the customfields and i want to use this one to set the approvers for this issue, the schema says it's type is an array and the items inside this array are users.

Based on this information i tried to build the structure like this:

structure.png

But when i run the script it tells me it expects an object, so is there a way for me to know how to structure the above field when sending the payload to the request?

0 answers

Suggest an answer

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

Atlassian Community Events