Create issue with JWT Authorization

Alexis TALON October 7, 2019

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 B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 9, 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