Code Monkey home page Code Monkey logo

Comments (18)

 avatar commented on July 20, 2024 1

Hi @rcarz @totallytot @kr-pradeep,

Any update on this?

from jira-client.

hoeghh avatar hoeghh commented on July 20, 2024 1

So, i ran into this problem after having it working just fine. And i tried a lot of stuff, before making it work again. Im using the Jenkins jira-ext plugin that uses this code, and i know it sounds strange, but it started to work again, when i added a "/" at the end of the url.

So, instead of http://jira.192.168.122.214.nip.io
i changed it to http://jira.192.168.122.214.nip.io/

And then i worked. I didnt do anything else, so i think this might be the problem. If i remove the trailing /, it stops working again.

So, maybe that would be a great new commit, to fix this?

from jira-client.

pearlselvan avatar pearlselvan commented on July 20, 2024

Please help to solve the above issue

from jira-client.

bobcarroll avatar bobcarroll commented on July 20, 2024

Try this:

String Jira_PayPal_URL ="https://jira.paypal.com/jira";

from jira-client.

bobcarroll avatar bobcarroll commented on July 20, 2024

Were you able to get it working?

from jira-client.

bobcarroll avatar bobcarroll commented on July 20, 2024

I'm closing this issue since I haven't heard back. Feel free to re-open if you're still having trouble.

from jira-client.

doubler84 avatar doubler84 commented on July 20, 2024

I receive the same error, without HTTPS protocol.

from jira-client.

nallasivam avatar nallasivam commented on July 20, 2024

Hi,

I am facing the same issue." javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated".Could you please help me to resolve this.

from jira-client.

kr-pradeep avatar kr-pradeep commented on July 20, 2024

Hi @rcarz

I am not able to create or retrieve issue.
Getting error:-
Failed to retrieve issue metadata
404 : <title>Oops, you've found a dead link. - JIRA</title><script type="text/javascript">contextPath = "";</script><script src='/static-assets/metal-all.js'></script><script type="text/javascript">document.body.className += " js-enabled";</script>

Oops, you've found a dead link.

  • Go back to the previous page
  • Go to the Home Page

Could you please help me on this. Thanks in advance!

                 BasicCredentials creds = new BasicCredentials("*****", "****");
	     JiraClient jira = new JiraClient("http://localhost:8080/login.jsp", creds);
	    	 /* Create a new issue. */
	            Issue newIssue = jira.createIssue("WEB", "Bug")
	                .field(Field.SUMMARY, "This is test bug")
	                .field(Field.DESCRIPTION, "Description of test bug.")
	                .field(Field.REPORTER, "se.pradeepkumar")
	                .field(Field.ASSIGNEE, "se.pradeepkumar")
	                .execute();
	            System.out.println(newIssue);
        
	         /* Retrieve issue WEB-1 from JIRA. We'll get an exception if this fails. */
	         Issue issue = jira.getIssue("WEB-1");

	         /* Print the issue key. */
	         System.out.println(issue);
	         
	         /* You can also do it like this: */
	            System.out.println(issue.getKey());

from jira-client.

 avatar commented on July 20, 2024

Hi @rcarz @pearlselvan

I'm also getting same issue, Any update on this?
image

from jira-client.

totallytot avatar totallytot commented on July 20, 2024

@testingxpertshyd I have not touch this client at all, but as I can see you are trying to use it with Jira Cloud... API token is used there. Also, pls see the following issue: #225

from jira-client.

 avatar commented on July 20, 2024

Hi @rcarz @totallytot ,

Thanks for quick response, I have seen the issue #225 already but i can not get a working solution.
one week back I was able to create Issue in Jira but now i'm getting issue.
It would very helpful if you share a working example.

Thanks in advance.

from jira-client.

sasipenko avatar sasipenko commented on July 20, 2024

So, i ran into this problem after having it working just fine. And i tried a lot of stuff, before making it work again. Im using the Jenkins jira-ext plugin that uses this code, and i know it sounds strange, but it started to work again, when i added a "/" at the end of the url.

So, instead of http://jira.192.168.122.214.nip.io
i changed it to http://jira.192.168.122.214.nip.io/

And then i worked. I didnt do anything else, so i think this might be the problem. If i remove the trailing /, it stops working again.

So, maybe that would be a great new commit, to fix this?

We also started running into this today after upgrading various Jenkins plugins. The workaround helped! Thanks

from jira-client.

Sudharsan93 avatar Sudharsan93 commented on July 20, 2024

Hello Team,

Is there any update on the above issue. Please let us know the solution to resolve this issue. Thanks.

I'm also receiving the following exception :(
net.rcarz.jiraclient.JiraException: Failed to retrieve issue metadata
at net.rcarz.jiraclient.Issue.getCreateMetadata(Issue.java:457)
at net.rcarz.jiraclient.Issue.create(Issue.java:670)

Is it because of deprecation "import org.apache.http.impl.client.DefaultHttpClient;" ?

from jira-client.

odemeulder-nyt avatar odemeulder-nyt commented on July 20, 2024

We had a similar issue. Adding the trailing slash to the url worked for us.

from jira-client.

vzenzo avatar vzenzo commented on July 20, 2024

I still have this issue, placing or removing "/" from link does nothing

from jira-client.

Cocotus avatar Cocotus commented on July 20, 2024

So, i ran into this problem after having it working just fine. And i tried a lot of stuff, before making it work again. Im using the Jenkins jira-ext plugin that uses this code, and i know it sounds strange, but it started to work again, when i added a "/" at the end of the url.

So, instead of http://jira.192.168.122.214.nip.io
i changed it to http://jira.192.168.122.214.nip.io/

And then i worked. I didnt do anything else, so i think this might be the problem. If i remove the trailing /, it stops working again.

So, maybe that would be a great new commit, to fix this?

Its May 2020 and adding the trailing slash was also the solution here on our Jenkins setup. Incredible find! T H A N K S !

from jira-client.

lopisronald avatar lopisronald commented on July 20, 2024

I still have this issue, placing or removing "/" from link does nothing.
@rcarz Could you please help.

from jira-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.