I want to use python to derive the data from jira system, but it was stuck in the 1 step, I apply the API TOKEN and input the right URL, but it could not connect to https://ford.atlassian.net, I don't know where is wrong, could you help me with this question? thanks.
Hi @QLI111
If you are trying to access the Jira data through Python, try the rest api end points from https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/
Try the python example in https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get adjusting it to your site and auth.
Hope this helps!
Hi @QLI111
You usually can’t “ping” Atlassian Cloud with ICMP, so test with HTTPS API instead.
Try:
curl -u your_email:api_token https://ford.atlassian.net/rest/api/3/myself
Interpretation:
- 401 = auth/token issue
- 403 = account has no Jira access / tenant restrictions
- timeout = network/VPN/firewall/DNS issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
appreciate your feedback, I tried you recommendation, resulted as below:
curl -u QLI111@ford.com:ATATT3xFfGF0ZaeXhF4D5E2ZOoxzVcGHFk2MgPe5V1BE-jlPuX9dJixpKsvNlrSpH4edTVdmHzOVM8gpHsWBINlbNqIO0Olc1c1_vIgSZ_y7UzTeL-xA2Qtg-Nyi7ZZ9tyqtloTJMmKqNtUlBTCqSbjVCqqEtloXGzC1obuMehqlWg03DbzThDo=17269E13 https://ford.atlassian.net/rest/api/3/myself
result is "curl: (6) Could not resolve host: ford.atlassian.net"
seem like it still could not work, could you help take a look?
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.