The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble with JIRA Rest Api call to my server instance

Kunal Katdare
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!
August 29, 2020

Hi, here's the issue I'm facing.

In AWS Codebuild, my requests get call to JIRA works absolutely fine.

In AWS Lambda, I get a Service or name unknown error for the exact same python function.

Error as follows:
[Errno -2] Name or service not known

My code:
complete_url = "https://my-jira-instance.com"
response = requests.get(url=complete_url)
print(response)

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Brant Schroeder
Community Champion
May 10, 2024

@Kunal Katdare welcome to the Atlassian community

My guess is that it is a routing issue.  Have you confirmed that you have connectivity to the jira instance API via the browser.