Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Reporter update via Javacript REST PUT

Aslam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 18, 2018

I am trying to update reporter field using the Javascript and REST-API PUT call but doesnot work.


AJS.toInit(function() {
$.ajax({
url: "/rest/api/2/issue/APC-525",
type: 'PUT',
data: JSON.stringify({"reporter": { "name": "admin" }}),
contentType: 'application/json'
success: function(data) {
alert('Load was performed.');
}
});
});

can somehelp

0 answers

Suggest an answer

Log in or Sign up to answer