Items
Create Item
curl -X POST --user $USER_PASSWORD "$JIRA_INSTANCE/rest/tdo/1.0/$PROJECT_KEY/environments/demo-env/types/PersonType/items" \
--header 'Content-Type:application/json' \
--data '{
"data":{
"Family-Name": "Doe",
"Year-Born": "2001"
}
}'
Update Item
curl -X PUT --user $USER_PASSWORD "$JIRA_INSTANCE/rest/tdo/1.0/$PROJECT_KEY/environments/demo-env/types/PersonType/items/$ITEM_KEY" \
--header 'Content-Type:application/json' \
--data '{
"data":{
"Family-Name": "Doe",
"Year-Born": "2002"
}
}'
Get Item
curl -X GET--user $USER_PASSWORD "$JIRA_INSTANCE/rest/tdo/1.0/$PROJECT_KEY/environments/demo-env/types/PersonType/items/$ITEM_KEY"