Hi Hamid,
It took a while but I just found the time to give it a try on my test instance. The approvers of an issue are stored in a custom field thus updating that custom field would be the solution.
I was able to update the field by executing the following API call;
PUT /rest/api/latest/issue/ISSUEKEY-1
{
"fields": {
"customfield_10206": [
{
"name":"mcautreels"
},{
"name":"shane.soukup"
}
]
}
}
BUT there's one important thing to make sure. The customfield ID (in my case: 10206) can be different on each instance.
Finding the right id can be done following the knowledge base article: How to find id for custom field(s)?
Hope this helps,
Maarten
Manage Confluence like never before! This new learning path teaches you how to manage content, users, and permissions while optimizing user experience. Built for admins at all levels who want to confidently lead and unlock more innovative collaboration.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.