Hi All,
I have to update issue status using jira rest services below request payload.
{
"<span>update</span>": <span>{
"comment": [
{
"add": {
"body": "Bug has been fixed."
}
}
]
}</span>,
"<span>fields</span>": <span>{
"assignee": {
"name": "bob"
},
"resolution": {
"name": "Fixed"
}
}</span>,
"<span>transition</span>": <span>{
"id": "5"
}</span>,
"<span>historyMetadata</span>": <span>{
"type": "myplugin:type",
"description": "text description",
"descriptionKey": "plugin.changereason.i18.key",
"activityDescription": "text description",
"activityDescriptionKey": "plugin.activity.i18.key",
"actor": {
"id": "tony",
"displayName": "Tony",
"type": "mysystem-user",
"avatarUrl": "http://mysystem/avatar/tony.jpg",
"url": "http://mysystem/users/tony"
},
"generator": {
"id": "mysystem-1",
"type": "mysystem-application"
},
"cause": {
"id": "myevent",
"type": "mysystem-event"
},
"extraData": {
"keyvalue": "extra data",
"goes": "here"
}
}</span>}In actor tag i have to provide details for actor.how to find actor details in my jira system.
Could you please help.
I have one more quick question
what is generator ,cause,extraData details in above request payload.