Hi JIRA help,
I'm trying to find how to enable API calls with JIRA for my team ( I'm currently working on one cool plugin ) and I need to test it with API's , but I can't find in our JIRA . Can you please help me?
Curl request returning 'HTTP/1.1 400 Bad Request' but I'm following instructions from JIRA Dev but no luck
Thank you,
Natalie
It's not a setting you can change on Cloud, but it is switched on.
What instructions do you have for testing the connection?
Using this doc:My curl command is looking like :
curl -D- -u myAccount:myPassword -X POST --data filenameWithJson -H "Content-Type: application/json" myJira/rest/api/2/issue/
Respond is:
HTTP/1.1 400 Bad Request
Server: nginx
Date: Mon, 31 Aug 2015 22:08:34 GMT
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Basically I'm trying to send a request with python to create an issue.
But I was checking is it working, that's why running curl command.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The url is missing the protocol and issue key
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi, have you solved this problem? I can't find "Accept remote API calls" setting in JIRA 7.1, either.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please see the previous answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No. That's an add on.
Oh, hang on, you're on 7. The flag has been removed from the general configuration. I guess because parts of JIRA 7 require it to be on, so it's now always on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough [Adaptavist] @Sopan Sagorkar can't find "Accept remote API calls" at "System info" in JIRA 7(server version, not cloud). Can you help find it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
nope
May be in 7 it call REST API?
|
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Admin -> General configuration
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's incorrect - Natalia is using Cloud, so she has no access to that, and it's already enabled.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Natalia,
First login with credentials which have full admin rights.
Then go to setting->system in System info section you'll find "Accept remote API calls" which is by default OFF so change it according to your need.
Regards,
Sopan Sagorkar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.