Jump to content

Plastic GUI constantly loses connection to Jira cloud


jwvanderbeck

Recommended Posts

Every single time I go to create a new task branch, none of my Jira tasks will show up in the dialog.  To fix it I have to go into preferences, go to Issue Trackers, click Test Connection, close the preferences, and then go create my task branch and now the Jira tasks will show up.

Every single time I create a task branch I have to "refresh" the connection this way and it is extremely annoying.  Am I missing something?

Link to comment
Share on other sites

Hi, I can see the following error message in the logs:

Could you attach (or reach us to support@codicesoftware.com) your "C:\Users\xxx\AppData\Local\plastic4\issuetrackers" folder?

It seems to be some errors in the API calls so my guess is that some configuration could be wrong.

2019-10-20 19:27:17,707 DESKTOP-B4HHFFL\jwvan DEBUG jiraextension - Logging changeset 16 with 1 items in plain text
2019-10-20 19:27:17,775 DESKTOP-B4HHFFL\jwvan ERROR jiraextensionrest - There was a problem performing GET https://outermarkergames.atlassian.net/rest/api/2/mypreferences?key=plastic.diffchangeset.url: The remote server returned an error: (404) Not Found.
2019-10-20 19:27:17,775 DESKTOP-B4HHFFL\jwvan DEBUG jiraextensionrest - StackTrace:
   at System.Net.HttpWebRequest.GetResponse()
   at Codice.Client.IssueTracker.Jira.JiraRestClient.TryRequest(String partialUri, String httpMethod, Object content, String& response)
2019-10-20 19:27:17,775 DESKTOP-B4HHFFL\jwvan ERROR jiraextensionrest - Response from the server: {"errorMessages":["key not found: 'plastic.diffchangeset.url'"],"errors":{}}
2019-10-20 19:27:17,837 DESKTOP-B4HHFFL\jwvan ERROR jiraextensionrest - There was a problem performing GET https://outermarkergames.atlassian.net/rest/api/2/mypreferences?key=plastic.formatdata: The remote server returned an error: (404) Not Found.
2019-10-20 19:27:17,838 DESKTOP-B4HHFFL\jwvan DEBUG jiraextensionrest - StackTrace:
   at System.Net.HttpWebRequest.GetResponse()
   at Codice.Client.IssueTracker.Jira.JiraRestClient.TryRequest(String partialUri, String httpMethod, Object content, String& response)
2019-10-20 19:27:17,838 DESKTOP-B4HHFFL\jwvan ERROR jiraextensionrest - Response from the server: {"errorMessages":["key not found: 'plastic.formatdata'"],"errors":{}}
2019-10-20 19:27:17,838 DESKTOP-B4HHFFL\jwvan DEBUG jiraextension - Updating values for issue 'GT-11'
2019-10-20 19:27:17,935 DESKTOP-B4HHFFL\jwvan ERROR jiraextensionrest - There was a problem performing PUT https://outermarkergames.atlassian.net/rest/api/2/issue/GT-11: The remote server returned an error: (400) Bad Request.
2019-10-20 19:27:17,936 DESKTOP-B4HHFFL\jwvan DEBUG jiraextensionrest - StackTrace:
   at System.Net.HttpWebRequest.GetResponse()
   at Codice.Client.IssueTracker.Jira.JiraRestClient.TryRequest(String partialUri, String httpMethod, Object content, String& response)
2019-10-20 19:27:17,936 DESKTOP-B4HHFFL\jwvan ERROR jiraextensionrest - Response from the server: {"errorMessages":[],"errors":{"customfield_10000":"Field 'customfield_10000' cannot be set. It is not on the appropriate screen, or unknown."}}
2019-10-20 19:27:17,936 DESKTOP-B4HHFFL\jwvan DEBUG jiraextensionrest - Assuming 400 as Unauthorized.

Regards,

Carlos.

Link to comment
Share on other sites

4 hours ago, calbzam said:

Hi, I can see the following error message in the logs:

Could you attach (or reach us to support@codicesoftware.com) your "C:\Users\xxx\AppData\Local\plastic4\issuetrackers" folder?

It seems to be some errors in the API calls so my guess is that some configuration could be wrong.


2019-10-20 19:27:17,707 DESKTOP-B4HHFFL\jwvan DEBUG jiraextension - Logging changeset 16 with 1 items in plain text
2019-10-20 19:27:17,775 DESKTOP-B4HHFFL\jwvan ERROR jiraextensionrest - There was a problem performing GET https://outermarkergames.atlassian.net/rest/api/2/mypreferences?key=plastic.diffchangeset.url: The remote server returned an error: (404) Not Found.
2019-10-20 19:27:17,775 DESKTOP-B4HHFFL\jwvan DEBUG jiraextensionrest - StackTrace:
   at System.Net.HttpWebRequest.GetResponse()
   at Codice.Client.IssueTracker.Jira.JiraRestClient.TryRequest(String partialUri, String httpMethod, Object content, String& response)
2019-10-20 19:27:17,775 DESKTOP-B4HHFFL\jwvan ERROR jiraextensionrest - Response from the server: {"errorMessages":["key not found: 'plastic.diffchangeset.url'"],"errors":{}}
2019-10-20 19:27:17,837 DESKTOP-B4HHFFL\jwvan ERROR jiraextensionrest - There was a problem performing GET https://outermarkergames.atlassian.net/rest/api/2/mypreferences?key=plastic.formatdata: The remote server returned an error: (404) Not Found.
2019-10-20 19:27:17,838 DESKTOP-B4HHFFL\jwvan DEBUG jiraextensionrest - StackTrace:
   at System.Net.HttpWebRequest.GetResponse()
   at Codice.Client.IssueTracker.Jira.JiraRestClient.TryRequest(String partialUri, String httpMethod, Object content, String& response)
2019-10-20 19:27:17,838 DESKTOP-B4HHFFL\jwvan ERROR jiraextensionrest - Response from the server: {"errorMessages":["key not found: 'plastic.formatdata'"],"errors":{}}
2019-10-20 19:27:17,838 DESKTOP-B4HHFFL\jwvan DEBUG jiraextension - Updating values for issue 'GT-11'
2019-10-20 19:27:17,935 DESKTOP-B4HHFFL\jwvan ERROR jiraextensionrest - There was a problem performing PUT https://outermarkergames.atlassian.net/rest/api/2/issue/GT-11: The remote server returned an error: (400) Bad Request.
2019-10-20 19:27:17,936 DESKTOP-B4HHFFL\jwvan DEBUG jiraextensionrest - StackTrace:
   at System.Net.HttpWebRequest.GetResponse()
   at Codice.Client.IssueTracker.Jira.JiraRestClient.TryRequest(String partialUri, String httpMethod, Object content, String& response)
2019-10-20 19:27:17,936 DESKTOP-B4HHFFL\jwvan ERROR jiraextensionrest - Response from the server: {"errorMessages":[],"errors":{"customfield_10000":"Field 'customfield_10000' cannot be set. It is not on the appropriate screen, or unknown."}}
2019-10-20 19:27:17,936 DESKTOP-B4HHFFL\jwvan DEBUG jiraextensionrest - Assuming 400 as Unauthorized.

Regards,

Carlos.

I can get that to you in about 8 hours.  I left most of the settings as default, only setting the server address and user information.  Seems odd that it works after I first start the client, and then again after "refreshing" the connection with the Test button, but then stops in between.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...