jira-rest-client | JIRA REST client library for Java | REST library

 by   lesstif Java Version: Current License: Apache-2.0

kandi X-RAY | jira-rest-client Summary

kandi X-RAY | jira-rest-client Summary

jira-rest-client is a Java library typically used in Web Services, REST, Spring Boot, Docker, Jira applications. jira-rest-client has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub, Maven.

JIRA REST client library for Java
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              jira-rest-client has a low active ecosystem.
              It has 23 star(s) with 24 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 4 open issues and 2 have been closed. On average issues are closed in 0 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of jira-rest-client is current.

            kandi-Quality Quality

              jira-rest-client has 0 bugs and 0 code smells.

            kandi-Security Security

              jira-rest-client has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              jira-rest-client code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              jira-rest-client is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              jira-rest-client releases are not available. You will need to build from source code and install.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 1363 lines of code, 83 functions and 35 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed jira-rest-client and discovered the below as its top functions. This is intended to give you an instant insight into jira-rest-client implemented functionality, and help decide if they suit your requirements.
            • Creates an issue
            • Add attachments to an issue
            • Send a multi part
            • Send a string to the web target
            • Get a list of projects
            • Check status
            • Gets the resource
            • Set the JIRA resource name
            • Sets the started date
            • Returns the started date
            • Retrieves the issues for a given query
            • Returns a JSON representation of this object
            • Set custom field
            • Deserialize a date
            • Gets the issue id value
            • Ordered by WorklogElement
            • Set component components by string array
            • To pretty json string
            • Get Project details
            • Gets a list of all the priorities
            • Gets a list of all issue types
            • Deserialize JSON data
            • Disable SSL verification
            • Get the logging feature
            Get all kandi verified functions for this library.

            jira-rest-client Key Features

            No Key Features are available at this moment for jira-rest-client.

            jira-rest-client Examples and Code Snippets

            Usage,Create Issue
            Javadot img1Lines of Code : 31dot img1License : Permissive (Apache-2.0)
            copy iconCopy
            public void createIssue() throws JsonParseException, JsonMappingException, IOException, ConfigurationException {
                    Issue issue = new Issue();
                    
            		IssueFields fields = new IssueFields();
            		fields.setProjectKey("TEST")
            			  .setSummary("so  
            Usage,Get Issue Info
            Javadot img2Lines of Code : 24dot img2License : Permissive (Apache-2.0)
            copy iconCopy
            public void getIssue() throws IOException, ConfigurationException {
            	String issueKey = "TEST-833";
            
            	IssueService issueService = new IssueService();
            	Issue issue =  issueService.getIssue(issueKey);
            
            	logger.info(issue.toPrettyJsonString());
            
            	// atta  
            Usage,Add Attachment
            Javadot img3Lines of Code : 12dot img3License : Permissive (Apache-2.0)
            copy iconCopy
            public void uploadAttachments() throws IOException, ConfigurationException 
            {
                Issue issue = new Issue();
            	issue.setKey("TEST-834");
            	
            	issue.addAttachment(new File("c:\\Users\\lesstif\\attachment.png"));
            	issue.addAttachment("c:\\Users\\lesstif\\  

            Community Discussions

            Trending Discussions on jira-rest-client

            QUESTION

            Jira REST Client Library for Cloud
            Asked 2020-Apr-30 at 08:56

            In the overview of the Jira Rest Java Client, Atlassian specify:

            The Jira REST Java Client works with Jira Server, but not with Jira Cloud.

            Is there a client library for the REST APIs of Jira cloud?

            I can't find any open source libraries on the internet that are geared specifically towards using the Jira cloud REST APIs.

            The following question seems to be implicitly asking the same thing as I am, but is explicitly focused on the existence of a POM: How to use JIRA REST client library?. So the answer there focuses on advise on usage of a POM found on Maven.

            ...

            ANSWER

            Answered 2020-Mar-07 at 16:19

            I'm not aware of an open source client library for Jira Cloud (written in Java) and also a quick internet search does not provide any good results. But you can generate your own client since Atlassian is providing a Swagger/OpenAPI definition for their cloud REST API:

            Then you can generate your own client using e.g. Swagger Codegen or OpenAPI Generator into your preferred language of choice. I quickly tried it out by myself using the OpenAPI Generator but it failed because of an error in the Swagger definition - if you're interested, you could try to fix it by yourself or report it in the Atlassian Developer Community.

            About the Jira Rest Java Client

            You can probably use the client for most of the Jira Cloud REST API endpoints as they are similar to Jira Server. However, keep in mind that there are a few smaller differences between Jira Cloud REST API and Jira Server REST API. For example, there are endpoints which only exist in Jira Cloud like Jira Expressions. Or endpoints which are deprecated and will be removed soon because they now require pagination request parameters, like filtering for projects. Also, the client does not support JWT authentication or OAuth but only Basic Authentication - but this may not be necessary in your situation, depends on your use case.

            Source https://stackoverflow.com/questions/60564695

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install jira-rest-client

            check latest released artifact version from maven Central Repository( ). add this dependency snippet into pom.xml. create jira-rest-client.properties file into directory in the CLASS PATH variable and set your jira host and auth infos.
            check latest released artifact version from maven Central Repository( )
            add this dependency snippet into pom.xml. <dependency> <groupId>com.lesstif</groupId> <artifactId>jira-rest-api</artifactId> <version>EDIT_THIS</version> </dependency>
            create jira-rest-client.properties file into directory in the CLASS PATH variable and set your jira host and auth infos. jira.server.url="https://your-jira.host.com" jira.user.id="jira-username" jira.user.pwd="jira-password"

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/lesstif/jira-rest-client.git

          • CLI

            gh repo clone lesstif/jira-rest-client

          • sshUrl

            git@github.com:lesstif/jira-rest-client.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link