jira

How to make an image clickable in jira comment, so it pops up as if you click on attached image in attachment area?

匿名 (未验证) 提交于 2019-12-03 03:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm talking desktop browser experience, e.g. chrome. In jira, if I attach the image I can use it in my comment - and it's great! I usually use width=800px so the whole image can be seen in the comment. So I can write something like this: Here's the screenshot !my-screenshot-image.jpg|width=600px! The problem is that sometimes screenshot is too big and when shrunk to smaller size, e.g. 600px, is not readable . When you click on the image in attached files area then it pops up and this is what I want in the comment section. I was wondering if

Export JIRA Data

匿名 (未验证) 提交于 2019-12-03 02:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: What is the best way to export all JIRA data (projects, issues, ...)? I saw that there is an API and a plugin mechanism which probably can provide all the information. But what is the easiest way to export the data? Does it work out of the box or do I have to implement a plugin? 回答1: Generally, there are two main approaches to backup your JIRA data. The first one is to back up your database in which JIRA info is stored. The second one is to use the “Backup Data to XML feature”, which is a JIRA feature. Personally, I prefer the second one,

jira python oauth: how to get the parameters for authentication?

匿名 (未验证) 提交于 2019-12-03 02:51:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to use oauth to access jira, and I am reading this document: Welcome to jira-python's documentation . But in this oauth part, I cannot figure out how I can get these parameters: access_token, access_token_secret, consumer_key, key_cert 回答1: I too am using jira-python. Since jira-python uses requests and requests-oauthlib I used those same libraries to implement the OAuth 1 dance necessary to get the tokens. First, setup JIRA: Generate RSA public/private key pair (you end up with rsa.pub and rsa.pem files). Your Python code will

JIRA: to close or to resolve?

匿名 (未验证) 提交于 2019-12-03 02:45:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: You can reopen both a resolved and a closed issue in JIRA. What's the practical difference? (besides requiring different permissions to resolve/close issues e.g. if QA is involved) We have some differences of opinion in our team for whether to resolve or close, and I'd like to point towards some authority and say "we should do it this way". 回答1: Typical issue workflow is the person working on the bug resolves it, and the person who opened the bug is the one who decides if the resolution is acceptable. If it is, they close it. If not, they re

Create JIRA sub-tasks automatically when issue created

核能气质少年 提交于 2019-12-03 02:42:37
I am wondering there is a way to create sub-tasks automatically when issue created. For example, I create a custom Standard Issue Type, XXX, and Sub-tasks Issue Type YYY and ZZZ. When I create a issue with type XXX, then two sub-tasks with respective issue type YYY and ZZZ will be created automatically. Kuf You could so this easily using Jira Scripting Suite by using post function on issue creation transition on the project's workflow. Sample code: from com.atlassian.jira.util import ImportUtils from com.atlassian.jira import ManagerFactory from com.atlassian.jira.issue import MutableIssue

jira python oauth: how to get the parameters for authentication?

浪子不回头ぞ 提交于 2019-12-03 02:35:37
I am trying to use oauth to access jira, and I am reading this document: Welcome to jira-python's documentation . But in this oauth part, I cannot figure out how I can get these parameters: access_token, access_token_secret, consumer_key, key_cert I too am using jira-python. Since jira-python uses requests and requests-oauthlib I used those same libraries to implement the OAuth 1 dance necessary to get the tokens. First, setup JIRA: Generate RSA public/private key pair (you end up with rsa.pub and rsa.pem files). Your Python code will need access to the private key rsa.pem . Configure a JIRA

How can I get JIRA issue number from a commit message in Jenkins

匿名 (未验证) 提交于 2019-12-03 02:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using Gitlab for our source code management, jenkins for CI jobs and JIRA for issue tracking. Once I commit in gitlab with an issue number for example "Project-123 edited demo file.", I have a jenkins hook that triggers a build. I have the JENKINS's Jira Plugin and use Progress JIRA issues by workflow action. I have a two part question: my JQL for searching for the issue is: project=PROJ and status="Build Started" and updated >= "-15m" My workflow action is Jenkins Build is Successful. However, if i have multiple builds running, when

Adding Jira comment using soap in PHP [closed]

匿名 (未验证) 提交于 2019-12-03 02:30:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: How to add comment in Jira using SOAP in PHP? 回答1: $soapClient = new SoapClient("https://YOUR_JIRA_DOMAIN.com/rpc/soap/jirasoapservice-v2?wsdl"); $token = $soapClient->login($username, $password); $soapClient->addComment($token, $issueKey, array('body' => "your comment")); References http://docs.atlassian.com/software/jira/docs/api/rpc-jira-plugin/latest/com/atlassian/jira/rpc/soap/JiraSoapService.html#addComment%28java.lang.String,%20java.lang.String,%20com.atlassian.jira.rpc.soap.beans.RemoteComment%29 https://bitbucket.org/rewbs

How to archive projects in Jira, so they would disappear from Projects picker

老子叫甜甜 提交于 2019-12-03 02:09:29
We have bunch of old projects in Jira Studio that we want to keep online (in case, if we need to return to them for whatever reason), but I don't want them to appear anywhere in our daily Jira usage, i.e. dashboards, project picker etc. I followed the official instructions from here , but those archived projects are still visible through Projects picker on top of the page. Is there way to make them disappear? The navbar only shows the most recently viewed projects. Your old project should eventually disappear from that list, but definitely at its own pace. You have to remove all permissions to

Add Attachment to Jira via REST API

匿名 (未验证) 提交于 2019-12-03 02:00:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to post an attachment o JIRA using the latest REST API. Here's my code: public boolean addAttachmentToIssue(String issueKey, String path){ String auth = new String(org.apache.commons.codec.binary.Base64.encodeBase64((user+":"+pass).getBytes())); Client client = Client.create(); WebResource webResource = client.resource(baseURL+"issue/"+issueKey+"/attachments"); FormDataMultiPart formDataMultiPart = new FormDataMultiPart(); File f = new File(path); if(f.exists() && f.isFile()){ FileInputStream fis = null; try { fis = new