jira

Create New Users using JIRA REST API

最后都变了- 提交于 2019-12-08 09:12:20
问题 I am trying to create new users using JIRA REST API. However the post method syntax description is empty when I am checking the REST documentation. Does anyone know the JSON syntax and the REST handle for creating new users? 回答1: The JSON Object to use is: { "name":"username", "password":"****", "emailAddress":"username@local", "displayName":"user name", "notification":"false" } 回答2: The user creation via REST for JIRA installed version or on-demand version is available using the rest handle

Unable to edit custom_field(Jira-Python)

喜你入骨 提交于 2019-12-08 07:53:29
Unable to update fields for an issue in Jira-python. When I look at the raw data in JSON. It is under: {fields:{'customfield_10000':'some text'} but when I tried: issue.update(fields={'customfiled_10000':'edited'}) issue.update({'customfiled_10000':'edited'}) issue.update({fields:{'customfiled_10000':'edited'}}) issue.update(customfiled_10000='edited') All gave me response text = {"errorMessages":["Internal server error"],"errors":{}} Tried added +"0000" in Client.py data['started'] = started.strftime("%Y-%m-%dT%H:%M:%S.000%z")+"+0000" still not fixing the issue. Please Help~!! New findings ,

Creating a GitHub hook for when a pull requested is opened

余生长醉 提交于 2019-12-08 07:16:37
问题 I'm trying to setup a GitHub hook which sends a POST to a url when a pull request is opened. This post should contain all the relevant details of the pull request, however I have added a url to the "Web-Hook URLS" on GitHub and tested that with request bin and found that it only sends a POST when I do git commit. Is it possible to get GitHub to send a POST when I open a new pull request? Thanks in advance! 回答1: Resolved by using this gist : https://gist.github.com/bjhess/2726012 来源: https:/

Unable to edit custom_field(Jira-Python)

混江龙づ霸主 提交于 2019-12-08 05:45:32
问题 Unable to update fields for an issue in Jira-python. When I look at the raw data in JSON. It is under: {fields:{'customfield_10000':'some text'} but when I tried: issue.update(fields={'customfiled_10000':'edited'}) issue.update({'customfiled_10000':'edited'}) issue.update({fields:{'customfiled_10000':'edited'}}) issue.update(customfiled_10000='edited') All gave me response text = {"errorMessages":["Internal server error"],"errors":{}} Tried added +"0000" in Client.py data['started'] = started

how to migrate tasks from JIRA to TFS 2012

纵饮孤独 提交于 2019-12-08 04:10:57
问题 I have been searching the Tool(freeware) for a clean solution on how to migrate tasks from JIRA to TFS2012. Already i try to setup tfs-jira-synchronizer setup I've been trying to set this up on a sandbox server however when I ran the installer I didn't get the acl application file in my virtual directory. The installer completed without errors. 回答1: I recently had to migrate from Jira to TFS. I ended up writing my own utility to do so. I felt this was a good candidate for 'open-sourcing' so

How to generate jwt token for JIRA API

白昼怎懂夜的黑 提交于 2019-12-08 02:55:33
问题 I am trying to generate jwt token for authorizing the API. Firstly i can't find any token generator api from JIRA. After searching a lot, i found a java code to generate jwt token but it gives error while importing zephyr libraries. Error : org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script4.groovy: 18: unable to resolve class com.thed.zephyr.cloud.rest.ZFJCloudRestClient @ line 18, column 1. import com.thed.zephyr.cloud.rest.ZFJCloudRestClient; Java Code :

Suds + JIRA = SAXException

大兔子大兔子 提交于 2019-12-07 16:28:47
问题 I'm using Python 2.6 and suds 0.3.7 to interact with JIRA 4.0. When I connect to the JIRA server, I get information on all the issues just fine. However, when I want to update an issue, I get a SAXException from suds (presumably): WebFault: Server raised fault: org.xml.sax.SAXException: Found character data inside an array element while deserializing I'm following the steps described here: http://confluence.atlassian.com/display/JIRA/Creating+a+SOAP+Client only replacing SOAPpy calls with

Loading the Jira Public Certificate in .Net from a string (how to convert ASN.1 encoded SubjectPublicKeyInfo to X509 Cert in .Net)

不打扰是莪最后的温柔 提交于 2019-12-07 14:48:18
问题 I am building an oauth 1.0a service that will be consumed by a gadget within Jira, it's a .Net 3.5 Application written in C#. Jira makes requests to this service using the RSA-SHA1 signature method, which means to verify the signature of the request I need create an X509Certificate instance form their public cert. Within the Jira application you can get the public cert by going to the consumer info screen (which also has the consumer key for Jira etc.) and it presents the public key in this

How do I get a list of custom fields in JIRA with Perl SOAP?

喜欢而已 提交于 2019-12-07 13:14:20
问题 I was curious if anyone else had an idea how to get a list of all of the custom fields you have created in JIRA? If so, how did you do it? I've been trying to use a Perl SOAP routine I found on JIRA SOAP service documentation, but I have no idea how to implement it. 回答1: Note: You will need admin to access custom fields my $soap = SOAP::Lite->proxy("http://jira_url/rpc/soap/jirasoapservice-v2?wsdl") or die $!; my $login = $soap->login($user,$passwd)->result(); my $cfresult = $soap-

Get all status's from JIRA webservice

风流意气都作罢 提交于 2019-12-07 07:36:33
问题 Is there a way to get all status types from the JIRA webservice, either through the api or through a JQL request? (The issue status is the field that is mapped to the swimlanes when the board is set up) 回答1: Whith JIRA REST API you can : rest/api/2/status or for each project : rest/api/2/project/{projectIdOrKey}/statuses see the online rest api browser : it's a wonderful tool : https://jira.atlassian.com/plugins/servlet/restbrowser#/resource/api-2-status 回答2: For future reference, to see what