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

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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.

Suggest an answer

Log in or Sign up to answer