Hello.
I have this code, which I need to be able to update the device model attribute depending on the device model. I say we need to first create the object and then update its attributes for the model, right?
In the first part, I could do I managed to create the object, and now I am trying to generate the code to update its model device attribute. Would you be able to help me to achieve this using the rest API?
Welcome @Lucas De Souza
You can use this Rest API,i tried it works for me
{
"fields": {
"summary": "Sample Issue",
"project": {
"id": 14505
},
"issuetype": {
"id": 11002
}
},
"update": {
"issuelinks": [
{
"add": {
"type": {
"name": "Relates"
},
"inwardIssue": {
"key": "PRJ-1"
}
}
}
]
}
}
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.