jira

Passing a Hyperlink to JIRA 'description' field using R

随声附和 提交于 2019-12-12 04:41:52
问题 I am trying to pass an hyperlink to JIRA description field like this SharePoint Link using R but ending up displaying this <a href='somesite.com/sites/site/Documents/DocFolder/fileName.ext' target='_blank'>SharePoint Link</a>. Any suggestion on how to fix this? This is the code I am using. library(httr) SPurl <- "somesite.com/sites/site/Documents/DocFolder/fileName.ext" LinkToFileInSharePoint <- paste0("<a href='",SPurl,"' target='_blank'>",SharePoint Link,"</a>") x <- list( fields = list

Regex in Groovy to accept multiple lines

ε祈祈猫儿з 提交于 2019-12-12 04:29:42
问题 I am trying to get my script to accept comments that are "approved" or "Approved", etc. Whenever a user approves they may have some signature in the comment which is causing the script to not run. Here is my regex thus far: def regexStr = /^[A|a][P|p][P|p][R|r][O|o][V|v][E|e][D|d]?/ Anyone know what I should add to this to have it accept new lines? Thanks. 回答1: Using (?s) will cause the . to include new line character Here is an example: def exp = /(?s)([A|a][P|p][P|p][R|r][O|o][V|v][E|e][D|d

jira update ticket using script

血红的双手。 提交于 2019-12-12 02:26:43
问题 Is there any way update Jira ticket using scripts? Basically I will have a build from hudson/jenkins and if I get the Jira ID in all changes then corresponding ID should be updated to release version in Jira? Can any one help me? I am bit new to Jira admin. 回答1: It's a bit difficult to understand the question but there is a Jira plugin for jenkins that does what I think you're asking: Here is a link to the Jenkins JIRA plugin, you'll need to make sure the web service API for JIRA is enabled

Jira issue type values for Rest api

女生的网名这么多〃 提交于 2019-12-12 01:04:43
问题 Where can I find Jira issue type values that we pass to IssueBuilder class constructor? For ex: If i want to create a issue type of bug using jira rest api , We pass value '1L' to Issue Builder class constructor. IssueInputBuilder issueBuilder = new IssueInputBuilder("Key", 1l); Similarly what are the values of other jira issue types ?.. Anybody know the values we need to pass ? 回答1: If you are using later Jira REST Java Client API (e.g. 4.0), the interface has been changed. You must use

How to add a “webwork1” action linked to a “project admin tab” in Jira?

佐手、 提交于 2019-12-12 00:44:53
问题 I created a web-item and a webwork action. My web-item displays a new tab in the administration section of projects. The link of the tab points to my actions. The only problem is that my webwork action is displayed completely in another page. I would like my custom project tab to stay highlighted and my webwork action form to be displayed inside my projects "frame". Here's my atlassian-plugin.xml : <web-item name="info - Project Information" i18n-name-key="info-jira-module.name" key="info

How do I simulate “Wish List” and “Bug List” in JIRA workflow?

社会主义新天地 提交于 2019-12-12 00:26:50
问题 How do I simulate "Wish List" and "Bug List" in JIRA workflow? Should they be states, or resolutions? "Wish List" and "Bug List" issues start as regular bugs (or features). They end up on the bug list/wish list after being resolved as Won't Fix. For example this bug will not be fixed in the next release. We don't know in which release in will be fixed. 回答1: You could use both. that depends on your needs, and how you would like to set up your workflow. If you choose the resolution field, once

Atlassian Jira - 401 only when using query parameters

北战南征 提交于 2019-12-11 19:36:55
问题 Currently working on a JIRA addon using the ACE framework. Executing a request using the integrated httpClient. When I make a request such as this https://instance.atlassian.net/rest/api/3/search it works fine using the header Authorization: JWT <token> but when I run the same request with a query parameter like this https://instance.atlassian.net/rest/api/3/search?maxResults=1 the request fails with a 401. I have confirmed that the JWT is not expired due to reverting the query parameters and

Issues facing on controls added through custom field description (javascript)

白昼怎懂夜的黑 提交于 2019-12-11 19:21:26
问题 Below is the stuff which is included in field descirption so, i could have summary row appear. <script type="text/javascript"> var table = AJS.$('<table style="margin-left: 130px;">').append( AJS.$('<tr>').append( "<td style='border: 0px; width: 90px; margin-left: 1px; font-weight: bold; background-color: rgb(204, 255, 255);'><div id='customfield_summary_2:input1'>0</div></td>" ).append( "<td style='border: 0px; width: 90px; margin-left: 1px; font-weight: bold; background-color: rgb(204, 255,

JIRA - list projects in configuration and remember selection

泪湿孤枕 提交于 2019-12-11 18:57:29
问题 I am trying to create a dashboard gadget that will display a list of JIRA projects in its configuration dialog and allow the user to select from the list. I need to be able to remember this list of projects (so save them on the server somehow). How do I go about doing that for a list? I am using the latest jira version out Thanks 回答1: Use this code in gadget.xml file: ... <UserPref name="projectId" display_name="Project" datatype="select" default_value=""/> ... <script type="text/javascript">

How to take out ones of commit from a branch

夙愿已清 提交于 2019-12-11 16:59:16
问题 There's a branch containing hundreds of commits and each commit associated with a Jira ticket. There's a commit(jira tickets have been in the history in remote branch) how can I remove the specific commit (jira ticket) from the branch? When merging the branch with another destination branch, I would like to exclude the unused commit(jira) What's the simple way to do? 来源: https://stackoverflow.com/questions/45893126/how-to-take-out-ones-of-commit-from-a-branch