i am facing this issue when i connect jira with teamcity . the team city server is previous one and they integrated it wioth jira with few projects . recently i have created new project and when i try to integrate it i am facing this kind of issue
Error: Failed to fetch the resource from "https://Tide.atlassian.net/rest/api/latest/issue/CD-38", HTTP response code: 404 (Not Found)
HI @sandeep
Welcome to the community.
Does the issue CD-38 exits, relating to the error it doesn't or you or the user executing the API doesn't have access to the project the issue resides in.
issue CD-38 it exits but when i try to access same issue with differnt project in teamcity the test connection is successfull
Hi @sandeep
Look at the permission differences on the projects. It's, regarding your respons definitely a permission issue
Both are same projects when i integrating in team city i am using differnt project while coming to jira its same.the main issue is before they configured with jira successful when i try to integrate it now i am facing 404 issue get me better solution.
Is the error related to Jira or Teamcity.
In Jira it can only be permission related
Are the permissions right in Teamcity, as you mention the Jira projects are the same. Has there been any special user for Teamcity created that isc used that hasn't got the correct permissions
How are you loggin in to Jira via this call?
Are you using username and password, this won't work anymore, only username and api token is allowed.
See documentation here: https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/
by using this they previously configured can u see in place of api token and cloud secretthey used password or encoded can you let me know on this
No we can't see this.
It could be needed to be configured in Teamcity on a certain level, or maybe for each project.
You should contact your admins and go over the setup, this because the current user and related token don't have access to Jira
Thats why there is a 404
It looks like you're new here. Sign in or register to get started.