jira-plugin

Base64.encodeBase64String not found

柔情痞子 提交于 2019-12-24 04:23:11
问题 I'm having problems when trying to compile my Jira plugin (executing atlas-run). The build fails with this error: cannot find symbol symbol : method encodeBase64String(byte[]) location: class org.apache.commons.codec.binary.Base64 it seems like the build is trying to use commons-codec 1.3 jar instead of 1.4+ from my IDE (jIDEA) I've changed the library path from 1.3 to 1.6.jar (because it wasn't recognizing the encodeBase64String method either). I also tried adding this dependency to my pom

Jira for bug tracking and customer support?

只谈情不闲聊 提交于 2019-12-20 09:57:29
问题 We are thinking of using Jira for bug tracking and to integrate it with Git to connect bug fixes with version handling. Do you recommend Jira also for customer support or should we find another system like for example Zendesk for that purpose? I know that it is possible somehow to integrate for example Hipchat with Jira to enable chat functionality with customers but is Jira too complex for Customer Service to handle? What is your experience? 回答1: We use Jira for customer support, but we

Configuring the Atlassian JIRA plugin to work with Jenkins CI system

最后都变了- 提交于 2019-12-19 02:51:09
问题 I am trying to configure the JIRA plugin with Jenkins but I am receiving the error "This is a valid URL but it doesn't look like JIRA". I am trying to connect to my company installation of JIRA studio which is http://[company].jira.com and I know this URL is correct as I have several projects using it successfully. Is there some setting I should enable in JIRA studio for this to work? 回答1: I had a similar issue and fixed it by setting our JIRA studio Title to "Atlassian JIRA". You can change

JIRA rest api to fetch the activity stream

大憨熊 提交于 2019-12-13 15:14:01
问题 I am trying to get activity stream of my jira instance using the below api and it is not working , can anybody point me in the right direction ? 回答1: You should check this page out: https://developer.atlassian.com/docs/atlassian-platform-common-components/activity-streams/consuming-an-activity-streams-feed The Atom feed of the activity stream works well only if you also log in in your feed reader. 回答2: Here is an example of consuming the activity stream through the Jira API using Basic

How to get a user by email in JIRA Script Runner

扶醉桌前 提交于 2019-12-12 19:24:23
问题 When writing a Groovy script for JIRA Script Runner, how do you get a user, or just their username, given their email address? It seems that you're supposed to use the findUsersByEmail method in the UserSearchService interface. https://docs.atlassian.com/jira/7.0.2/com/atlassian/jira/bc/user/search/UserSearchService.html But how do you get an instance of this class? Related question: How to get a user by email in a JIRA plugin. The difference is that question is about a plugin, and my

Worklog entries of an JIRA-user needs to be fetched

梦想的初衷 提交于 2019-12-12 04:55:51
问题 I have 15 usernames with me, I need to pull worklog entries of these users and manipulate it from JAVA client Below are the jar files am using to connect JIRA api and fetch values The code is pasted below public class JiraConnector { JiraRestClient jira; public JiraConnector() throws URISyntaxException { String url = prop().getUrl(); String userName = prop().getUser() ; String password = prop().getpwd() ; JerseyJiraRestClientFactory clientFactory = new JerseyJiraRestClientFactory(); jira =

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

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">

JIRA Plugins SDK: How to find out changed data?

我的梦境 提交于 2019-12-11 10:01:34
问题 I am using the JIRA plugins sdk to work on changed Issues. I´ve implemented an IssueListener and I have access to the Issue itself and the IssueEvent. How do I find out which property (summary, description, estimation ...) of my Issue has been changed ? 回答1: The changelog is likely to contain what's been changed and there is a method on the IssueEvent object to get this ( getChangeLog ) and it returns a GenericValue object. This post on the Atlassian Answers site gives some code related to an