I would like to send one request to get an issue and watchers.
In the example "Get issue" I see all watchers
{
...
"fields": {
"watcher": {
"self": "http://www.example.com/jira/rest/api/2/issue/EX-1/watchers",
"isWatching": false,
"watchCount": 1,
"watchers": [
{
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
}
]
},
...But when I try to get information about the problem, I get only basic information about the watcher.
{
...
"fields": {
"watchers": {
"isWatching": true,
"watchCount": 3,
"self": "http://www.example.com/jira/rest/api/2/issue/EX-1/watchers",
}
},
... Now I use 2 requests:
/rest/api/2/issue/{Issue-Id}/
/rest/api/2/issue/{Issue-Id}/watchers