How to create an object and pass attribute values inside object schema

harshith kr December 13, 2022

i have an insight object schema named: customer_values

i want to create an object customer inside it and add attributes values using python code.

how to achieve this?

 

im able to get all object schemas created using below code:

import requests
url='https://jira.example.com/rest/insight/1.0/objectschema/objects'
headers = {
"Accept": "application/json",
"Content-Type": "application/json"
}
response=requests.get(url, headers=headers,auth=("username", "password"),cert=('certificates))
print(response.json())

 

 

but how to create an object and attributes using python code

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events