Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to set reporter in Jira REST API 5.x while creating a issue?

Mani Chellamuthu July 29, 2012

HI,

I am creating issues using Jira REST API 5.x. I tried following syntax,

"reporter": [{"set":{"name":"UserName"}}]

"reporter": [{"set":[{"name":"UserName"}]}]

The error was,

{"errorMessages":[],"errors":{"reporter":"data was not an object"}}

Please guide me to resolve it.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

4 votes
Answer accepted
Mani Chellamuthu July 29, 2012

The following syntax worked instead of "reporter": [{"set":{"name":"UserName"}}] for REST API,

"assignee":{"name":"test.user1"} or "reporter":{"name":"test.user1"}

TAGS
AUG Leaders

Atlassian Community Events