Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

jira service desk public REST API 404

Mihai Panait January 29, 2016

Hello,

I am trying to talk to JIRA service desk's public REST API  (yes I know it's experimental) and all I get is 404

rest/servicedeskapi/info is the link I tried to access and nothing... 404

also I tried  to install the REST API Browser... but it doesn't support the JIRA 7.0.x

can anyone help me?

2016-01-29 19_01_03-Fiddler Web Debugger.png

thank you


2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Bob Swift OSS (Bob Swift Atlassian Apps)
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.
January 29, 2016

Did you set header as noted on the doc page: X-ExperimentalApi to opt-in ?

Also, as far as I know, it is only available on 3.1 and that release is only available on Cloud at this time.

 

Mihai Panait January 31, 2016

I did, I still get 404

2016-02-01 09_34_54-Fiddler Web Debugger.png

 

Mihai Panait January 31, 2016

also jira's api works just fine.

Chris Whitten [Comskil] February 2, 2016

I am getting the same thing. I am using curl and gettting a 404 response saying I have a dead link:

Request:

curl -H "X-ExperimentalApi: true" -u admin:admin -v -X GET  "http://localhost:8080/jira/rest/servicedeskapi/info"

* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 8080 (#0)
* Server auth using Basic with user 'admin'
> GET /jira/rest/servicedeskapi/info HTTP/1.1
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.40.0
> Host: localhost:8080
> Accept: */*
> X-ExperimentalApi: true

Response:

< HTTP/1.1 404 Not Found
< Server: Apache-Coyote/1.1
< X-AREQUESTID: 1179x3860x1
< X-ASEN: SEN-L7226591
< Set-Cookie: JSESSIONID=858FC238E67BDF463F4F05539E625371; Path=/jira/; HttpOnly
< X-Seraph-LoginReason: OK
< Set-Cookie: atlassian.xsrf.token=BBJB-Y5RM-EXRM-IK8F|15c3d79d5515a3c10d29c111532b7f9cb8212731|lin; Path=/jira
< X-ASESSIONID: rmpwoc
< X-AUSERNAME: admin
< X-Content-Type-Options: nosniff
< Content-Type: text/html;charset=UTF-8
< Content-Length: 2719
< Date: Tue, 02 Feb 2016 19:39:47 GMT
<
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Oops, you&#39;ve found a dead link.

......

 

Any ideas? I have gone through and tried enabling all disabled system plugins and still no avail.

 

 

 

 

 

 

 

 

 

 

Bob Swift OSS (Bob Swift Atlassian Apps)
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 2, 2016

As far as I know, it is only on 3.1 and that release is only available on Cloud at this time. 

Chris Whitten [Comskil] February 2, 2016

Ah ok, thank you

Mihai Panait February 2, 2016

I submitted a ticket to ATLASSIAN.

the ticket's status is ..

ATLASSIAN INVESTIGATING

Chris Whitten [Comskil] February 3, 2016

link?

Mihai Panait February 4, 2016

it's not a public ticket

Mihai Panait February 16, 2016

so.. JIRA service desk rest api is only available on v 3.1.x released on 10 feb 2016.

ritika jain February 3, 2017

He @Mihai Panait : Did you get a closure on your issue? I am facing exactly same issue as urs. JIRA version - v6.4.12#64027-sha1:e3691cc

0 votes
ritika jain February 2, 2017

Hi,

 

We have JIRA Verison Project Management Software (v6.4.12#64027-sha1:e3691cc) and we are experiencing similar issue connecting to service desk request using REST URLs.

It returns 404. 

Tried curl -H "X-ExperimentalApi: true" -u username:password -v -X GET  "https://jira/rest/servicedeskapi/info"

But it returns 404.  

Please help. Since when do we have this support for APIs.

Bob Swift _Appfire_ February 4, 2017

It is not available on your release of JIRA (6.4).

viswanath_angajala
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 7, 2017

Anybody got this work? Even me too facing the problem when i am trying to create a session on the JIRA and using the cookie to use for next calls.

[root]$ curl -D- -u admin:abcd123$ -X GET  -H "Content-Type: application/json" http://localhost:8080/jira/rest/auth/1/session


HTTP/1.1 404
X-AREQUESTID: 205x5143x1
X-ASEN: SEN-L9184614
Set-Cookie: JSESSIONID=54664CE75B9D054DC9099DE3782CF0B2;path=/;HttpOnly
X-Seraph-LoginReason: OK
Set-Cookie: atlassian.xsrf.token=BOK2-74M9-PCKN-5NDG|c105b16384d08a37ac70ee89148bbb79942352c3|lin;path=/
X-ASESSIONID: 10h1hwy
X-AUSERNAME: admin
X-Content-Type-Options: nosniff
Content-Type: text/html;charset=UTF-8
Content-Length: 2758
Date: Tue, 07 Feb 2017 11:25:14 GMT

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Oops, you&#39;ve found a dead link. - JIRA</title>

ritika jain February 13, 2017

@Bob Swift Atlassian Add-ons (an Appfire company) : Which version do we need for it to work?

ritika jain February 13, 2017

https://marketplace.atlassian.com/plugins/com.atlassian.servicedesk/versions 

As per above link - 2.3.6 maps to  JIRA Server 6.3.8 - 6.4.14

And the one which we are using is higher than this. No?

TAGS
AUG Leaders

Atlassian Community Events