Do we need to do any configuration in JIRA settings for a REST API to work?

Max February 5, 2020

i'm trying to integrate JIRA with a Drupal site. i could fetch certain issue from JIRA by api but not able to create an issue. Any suggestions?

3 answers

0 votes
Max February 6, 2020

Thanks Guys. The issue is resolved now and It was due to permission.

0 votes
Warren
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2020

Hi @Max 

When you're fetching an issue, you're using a GET call. For creating an issue, you should be using a POST call - is that what you're using?

You say you're not able to create an issue, but what happens? Please show us the JSON you're using to POST and the returned JSON / error message

0 votes
Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 5, 2020

Dear @Max ,

either the API works or not. I do not know about any feature to enable only specific API functions.

Most probably you are facing a permission issue. Can you create an issue by using the same credentials when within the browser?

If you can, can you please post the API call inclusive JSON body?

So long

Thomas

Suggest an answer

Log in or Sign up to answer