我希望能够使用REST api从Python脚本更新Jira v5.1中的问题。我有以下一段代码来提取现有问题的信息,它工作得很好:
import urllib2
import urllib
import cookielib
import json
serverURL = 'http://jiraserver.com'
# Get the authentication cookie using the REST API
cj = cookielib.CookieJar()
opener = urllib2.build_opener(urllib2.HTTPCookiePro
我目前正在discord.js中制作一个机器人,我正在尝试构建一个命令处理程序(专门用于斜杠命令)。不幸的是,每当我运行代码时,它都会从不和谐API返回405错误。以下是错误:
DiscordAPIError[0]: 405: Method Not Allowed
at SequentialHandler.runRequest (/home/ayman/Documents/Projects/image-bot/node_modules/@discordjs/rest/dist/lib/handlers/SequentialHandler.js:198:23)
at proces
我无法对python进行身份验证,根据我使用的文档,我尝试使用。
from jira import JIRA
jira = JIRA('https://pm.maddevs.co/') # I am not sure if it is correct to use our site server or jiras
username = 'my_user_name'
password = 'my_pass'
authed_jira = JIRA(basic_auth=(username, password))
我有个错误
WARNING:roo
我正在尝试使用其余的Api来管理JIRA中的项目角色。我已经得到了角色和“参与者”的列表,并删除了角色成员。但是我不能正确地发布一个新的角色成员。我一直得到一个400或405错误。我使用的是HttpClient 4.3.2和Jira 6.0.2。这是我的代码:
// Set up ssl configuration as a user in JIRA instance
HttpClient client = HttpClientBuilder.create().build();
HttpPost post = new HttpPost("https://jira.install/re
我正在尝试使用JIRA Rest API查询数据,并尝试基于created日期拉取数据。 下面给出的是我正在尝试的,但它抛出了一个错误 JIRAError: JiraError HTTP 400 url: https://company.atlassian.net/rest/api/2/search?jql=True&startAt=0&validateQuery=True&maxResults=50
text: Error in the JQL Query: 'True' is a reserved JQL word. You must surro
不确定这个django错误想告诉我什么。使用一个名为atlassian-python-api的库。 如果我将该URL硬编码到jira对象中,则会向Jira api发送一个请求,并且不会出现错误。如果我通过邮递员和一个视图集来做,它会出错: No connection adapters were found for "['https://uk-
ssdo.atlassian.net']/rest/agile/1.0/board?maxResults=50" i.e jira = Jira(
url='https://uk-ssdo.at
有人能分享这些步骤和代码吗?这些步骤和代码允许我更新给定版本的测试周期吗?我可以让它更新Ad的测试结果,但这不是我想要的。以下是我所拥有的:
// 1. Get IssueId via "jira/rest/api/2/issue/" + issueKey
// 2. Get VersionId via "jira/rest/api/2/project/" + projectId + "/versions"
// 3. Get ProjectId via "jira/rest/api/2/project"
// 4. Create
我正在尝试在Python-jira的帮助下执行基本身份验证,并编写了以下代码
from jira import JIRA
SERVER="https://jira.company.com"
user = user@company.com
apikey='api_token'
class create_issue:
def check_authentication(self):
print("inside the check authentication method@@@@@@@")
jira = JI