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
Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!
Register todayOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.