It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to create Jira issue with rest API (PHP)

Jerome Flores Oct 23, 2016

How to create Jira issue with rest API that will set the new created customer as the creator of the issue?
and the organization will be set on the organization of the customer?

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough [Adaptavist] Community Leader Oct 23, 2016

In Service Desk, you usually work with requests - see https://docs.atlassian.com/jira-servicedesk/REST/cloud/#servicedeskapi/request-createCustomerRequest for the REST calls for that.

Jerome Flores Oct 24, 2016

I tried submitting the issue thru api and setting the creator as the costumer and the return was error.

[creator] => Field 'creator' cannot be set. It is not on the appropriate screen, or unknown.

the one that I used on the authentication of the api  is the default creator of the issue.. Is there any way we can set the costumer as the creator? 
 

Nic Brough [Adaptavist] Community Leader Oct 25, 2016

The creator of an issue is the person who creates it.  Not the customer.  JIRA will set it for you.

Gerry Tan Atlassian Team Oct 26, 2016

Also as per the REST API doc, if you're authenticating the REST request as agent, you can set the raiseOnBehalfOf field to set reporter to particular customer

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

1,095 views 13 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you