Hi Everyone,
Companies authentication is SSO enabled with MSOffice . I am not able to connect to jira server using the below curl command. the error I am facing too follows below.
Can you please advise the right way to connect via rest api calls.
curl -D- \
> -u emailid@apitoken \
> -X GET \
> -H "Content-Type: application/json" \
> https:url/rest/api/3/issue/ticket-1234
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0HTTP/2 302
server: awselb/2.0
date: Fri, 19 Mar 2021 09:55:27 GMT
content-type: text/html
content-length: 110
location: https://login.microsoftonline.com/
100 110 100 110 0 0 68 0 0:00:01 0:00:01 --:--:-- 68<html>
<head><title>302 Found</title></head>
<body>
<center><h1>302 Found</h1></center>
</body>
</html>