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

Create issue with JWT Authorization

Hello,

 

I'm trying to create an issue with the JIRA API using an Atlassian Connect App made with express.

My issue is that when I send a POST request to "/rest/api/latest/issue", it create an issue but doesn't set the assignee.

 Screenshot_1.png

 

And when a I try to set the reporter, I just recieve an error  : "Reporter is required."

Screenshot_2.png

 

My JWT Token is valid and created using atlassian-jwt package.

1 answer

0 votes
Dario Atlassian Team Oct 09, 2019

Hi @Alexis TALON ,

Welcome to the Atlassian Community!

I believe the issue you are facing is related to the Major changes to Jira Cloud REST APIs to improve user privacy .

In short, name and key are gonna be removed and you should use accountId instead.

For further details on this topic please see:

 

Also, for the future, please notice that this is not the best place to get help on development  related questions.

The right resources are the ones listed in https://developer.atlassian.com/resources. 

Specifically:

 

Cheers,
Dario

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

303 views 1 3
Join discussion

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