jira-rest-api

Python Can't connect Jira API via

て烟熏妆下的殇ゞ 提交于 2021-01-27 05:58:50
问题 I'm trying to connect jira's API via python (3.6) and i keep getting error message: WARNING:root:HTTPSConnectionPool(host='jira', port=443): Max retries exceeded with url: /secure/rest/api/2/serverInfo/rest/api/2/serverInfo (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),)) while doing GET https://jira/secure/rest/api/2/serverInfo/rest/api/2/serverInfo [{'params': None, 'headers': {'User-Agent': 'python

Create a User on Keycloack including password from curl command

青春壹個敷衍的年華 提交于 2021-01-21 07:29:12
问题 I have tried to create a user(without giving any password while creating) on keycloak using CURL command, it's success, but not able to know the password to login. So, how to give password to a user while creating. and also how to set default password for new users in keycloak I have used this link to create a user using curl: Create user on Keycloack from curl command 回答1: You need to set credentials for the user, so that you can login. something like this curl -v http://localhost:8080/auth

How to use JIRA REST client library?

冷暖自知 提交于 2020-05-15 09:07:18
问题 I need to use JIRA REST client version 5.2.0 or higher. Cloud JIRA does not work with an earlier version of the client. In my pom.xml file I have the following dependencies: <dependency> <groupId>com.atlassian.jira</groupId> <artifactId>jira-rest-java-client-core</artifactId> <version>5.2.1</version> </dependency> <dependency> <groupId>com.atlassian.jira</groupId> <artifactId>jira-rest-java-client-app</artifactId> <version>5.2.1</version> </dependency> When I building the project, I get an

How to use JIRA REST client library?

孤街浪徒 提交于 2020-05-15 09:06:31
问题 I need to use JIRA REST client version 5.2.0 or higher. Cloud JIRA does not work with an earlier version of the client. In my pom.xml file I have the following dependencies: <dependency> <groupId>com.atlassian.jira</groupId> <artifactId>jira-rest-java-client-core</artifactId> <version>5.2.1</version> </dependency> <dependency> <groupId>com.atlassian.jira</groupId> <artifactId>jira-rest-java-client-app</artifactId> <version>5.2.1</version> </dependency> When I building the project, I get an

How to use JIRA REST client library?

删除回忆录丶 提交于 2020-05-15 09:06:11
问题 I need to use JIRA REST client version 5.2.0 or higher. Cloud JIRA does not work with an earlier version of the client. In my pom.xml file I have the following dependencies: <dependency> <groupId>com.atlassian.jira</groupId> <artifactId>jira-rest-java-client-core</artifactId> <version>5.2.1</version> </dependency> <dependency> <groupId>com.atlassian.jira</groupId> <artifactId>jira-rest-java-client-app</artifactId> <version>5.2.1</version> </dependency> When I building the project, I get an

How to add a flag to jira issue via rest api

可紊 提交于 2020-02-03 05:47:49
问题 I would like to be able to add a flag to an issue via the Jira API. I was unable to find any documentation regarding this issue. Does anyone know how this works? 回答1: I've figured out how to do this, I'm not sure on the version of the API. I made a POST request to: yourdomain /rest/greenhopper/1.0/xboard/issue/flag/flag.json And in the body (replace JIRA-ISSUE with your issue key): {"issueKeys":["JIRA-ISSUE"],"flag":true} I hope this helps. 回答2: Here is the best answer I found. https:/

Authentication Error 401 when using node-jira module

穿精又带淫゛_ 提交于 2020-01-17 00:40:31
问题 I am trying to read an issue using a https://github.com/steves/node-jira , however I am getting an an error 401: Unable to connect to JIRA during findIssueStatus. Here is the code that I am using the code bellow on localhost:8433 var jiraApi = require('jira').JiraApi; var config = { "username": "name@email.com", "password": "password", "port": 443, "host": "company.atlassian.net" } var issueNumber = "ABC-1"; var jira = new jiraApi('https', config.host, config.port, config.username, config