You should be able to pass 'author' JSON property when adding/updating comment. Please check the doc: https://docs.atlassian.com/jira/REST/cloud/#api/2/issue-addComment Leaving it empty defaults to REST API user.
Please check the comments.
It respond me this error
Can not deserialize instance of com.atlassian.jira.issue.fields.rest.json.beans.CommentJsonBean
and im adding this array to json
$res_c = array(array('author'=>array("name"=>"fred","displayName"=>"Fred F.User","active"=> false),'body'=>'mmyyyyyyyyyy'));
Basically i have list of issues with comments that i imported from basecamp in json format . Now i want to create issue with comments in JIRA with API. The problem is that i have different people's comments on issue while JIRA is only showing comments with name of Administrator . So how could i change the name of commentator via api?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough cough, all companies). If content calendars, marketing plans, and bu...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs