jira

Jira Need to Add Button to Comment Toolbar

匿名 (未验证) 提交于 2019-12-03 01:44:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: So we currently have Jira in our workplace and no Jira Administrator. I'm feeling up to the task and would like to know if Jira has the functionality I'm looking for. So when you have comments in Jira or even in the body of a Jira ticket. You can italicize the text from the comment ribbon As you can see I am interested in being able to have the same functionality as bold or italicize or underline but I want to be able to highlight some code that i insert in a ticket comment and click a button and make it into a code block. Or add curly

How can I fetch (via GET) all JIRA issues? Do I go to the Search node?

匿名 (未验证) 提交于 2019-12-03 01:39:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: It looks like /api/2/project easily returns all projects in a JIRA instance in JSON format. I'd like to do the same for issues, but this does not appear to exist. Is /api/2/search the standard way to do a mass-dump like this? And what is the best way to regularly update this to a database? Would I do something like search (update date > [last entry in database]) and then go through the pagination? Surely I can't be the first person attempting this, though I see no similar guide anywhere online to this (I checked Jira's own docs, no mass

How to create an issue in jira using java rest api

匿名 (未验证) 提交于 2019-12-03 01:36:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have checked almost every link but could not find the proper solution for it. I need to create an issue in JIRA using java rest api. Code :- import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import org.codehaus.jettison.json.JSONException; import com.atlassian.jira.rest.client.api.JiraRestClient; import com.atlassian.jira.rest.client.api.domain.BasicProject; import com.atlassian.jira.rest.client.api.domain.Issue; import com.atlassian.jira.rest.client.internal.ServerVersionConstants; import com.atlassian

Curl request from command line and via Groovy script

匿名 (未验证) 提交于 2019-12-03 01:27:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am facing an issue which i do not understand, I have written a simple groovy script that when called from the command line works as expected #!/usr/bin/env groovy def jsonParse(def json) { new groovy.json.JsonSlurperClassic().parseText(json) } def ticketNumbers = ["MYSTATS-2695", "MYSTATS-2694"] ArrayList jiraLinks = new ArrayList (); for(int i =0; i so when i do groovy myscript.groovy This will print out [[MYSTATS-2695 ](https://jira.dev.org.co.uk/browse/MYSTATS-2695 ) - Jenkins build pipeline should ignore draft and pre-releases,

JIRA: Epics vs Labels vs Components

守給你的承諾、 提交于 2019-12-03 01:25:26
问题 This blog has a definition of epics in JIRA: Epics are significantly larger bodies of work. Epics are feature-level work that encompasses many user stories. Using the above example, an epic might be the entire account management feature and the ability to see previous purchases. So if (as a product owner) I have a large feature I want delivered that will comprise many smaller tasks and likely span sprints, then an epic is a good choice. However, I could just as easily create a (using the

Jira issue reminder

半世苍凉 提交于 2019-12-03 01:25:02
How to create a notification via emails to a pre-defined mail group when an issue is open for 24/36/48 hrs. There should be one reminder for any of those types (24/36/48) , and if an issue was re-opened the count should be restarted. This is best achieved via subscriptions . First create a search filter for each type (24h, 36h, etc.). Note: at this point we have to be a bit more precise about what you mean by "24h open". I assume that you care about issues that are unassigned for to long. So to filter out this issues you could use a filter like this: created <= -24h and status = Open and

JIRA creating issue using java

匿名 (未验证) 提交于 2019-12-03 01:06:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: What I'm trying to do is creating a new issue on JIRA over Java. Actually I'm on internship and didn't work with APIs before. Here is the code I found while studying JIRA's documents. Not sure if paramaters are wrong. public class ExampleCreateIssuesAsynchronous { private static URI jiraServerUri = URI . create ( "https://stajtest.atlassian.net/" ); public static void main ( String [] args ) throws IOException { final AsynchronousJiraRestClientFactory factory = new AsynchronousJiraRestClientFactory (); final JiraRestClient

JIRA REST API to get work log - “You do not have the permission to see the specified issue”

匿名 (未验证) 提交于 2019-12-03 00:56:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to get work log of a specified issue on Jira. According to this document https://docs.atlassian.com/jira/REST/latest/#d2e774 I'm using this format giving my issue id: /rest/api/2/issue/{issueIdOrKey}/worklog Although I have logged in Jira, I got this error: {"errorMessages":["You do not have the permission to see the specified issue.","Login Required"],"errors":{}} Besides, I can see work log on Jira's interface. I don't think there is an permission constraint. Any help to solve? 回答1: You REST API request need to be authenticated.

JIRA Rest API Login using C#

匿名 (未验证) 提交于 2019-12-03 00:56:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've written below C# code to login to JIRA Rest API: var url = new Uri("http://localhost:8090/rest/auth/latest/session?os_username=tempusername&os_password=temppwd"); var request = WebRequest.Create(url) as HttpWebRequest; if (null == request) { return ""; } request.Method = "POST"; request.ContentType = "application/json"; request.ContentLength = 200; request.KeepAlive = false; using (var response = request.GetResponse() as HttpWebResponse) { } When I execute this, application just goes on running without returning any response. Please

How to integrate JIRA with Selenium WebDriver?

依然范特西╮ 提交于 2019-12-03 00:48:29
How can I can integrate JIRA with Selenium WebDriver? Actually I want to execute test cases and report pass/ fail status for each test cases in JIRA. Your question is very general, so my answer will follow suit. Jira isn't exactly a TCM (Test Case Manager) application, though it's certainly possible to track tests using Jira... The point being, you'd likely be looking at a fair amount of custom code work trying to get test launch/scheduling capabilities integrated. You'd be far better off using something like Jenkins or Team City for your kick off. To get results back into Jira, you'd need two