mteodori / jira-git-plugin Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
It seems that this plugin is not compatible with JIRA 5.2.x?
Hello,
I am noticing that almost for every git repository configured in jira, after a while the indexing stops. The repository is deactivated. I can press Activate to get it working again, but after a while it stops working again.
Probably there are some exceptions during the indexing, I will report what I find in the logs.
Do you want the exceptions grouped into this one issue, or a seperate issue for each type of exception?
Valentijn
Hi,
I'm using RhodeCode as my git server accessible only via HTTPS . Commits in JIRA (5.2.11) are displayed correctly when repo is public (does not require authentication). However, when the repo is protected I always got not authorized exception. Storing credentials either in _netrc (on windows) or in .git/config works with other git clients (eg TortoiseGit) but JGIT from jira-git-plugin throws exception when trying to access repo.
2013-07-22 10:14:22,429 http-bio-8080-exec-15 WARN testuser 614x2091x1 38ouru 192.168.169.13 /browse/DEMO-4 [xiplink.jira.git.GitManagerImpl]
org.eclipse.jgit.errors.TransportException: https://MyRepoURL/test: not authorized
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:373)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:203)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:125)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:111)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:904)
at com.xiplink.jira.git.GitManagerImpl.fetch(GitManagerImpl.java:455)
...
It seems that we got an exception when the first commit add some Jira reference in message.
As this is the first commit, there is no parent commit, it seems to raise an exception when gitweb view is activated ...
trace:
2012-06-27 23:01:51,140 http-8080-11 ERROR admin 1381x3999x1 1mw7kdq 192.168.1.50,127.0.0.1 /browse/TEST [velocity] Method getChangePathLink threw exception for reference $commit in template templates/plugins/git/projecttabpanels/git-project-tab.vm at [128,29]
2012-06-27 23:01:51,140 http-8080-11 ERROR admin 1381x3999x1 1mw7kdq 192.168.1.50,127.0.0.1 /browse/TEST [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: java.lang.ArrayIndexOutOfBoundsException: 0
java.lang.ArrayIndexOutOfBoundsException: 0
at org.eclipse.jgit.revwalk.RevCommit.getParent(RevCommit.java:285)
at com.xiplink.jira.git.linkrenderer.LinkFormatRenderer.getChangePathLink(LinkFormatRenderer.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:234)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at org.apache.velocity.Template.merge(Template.java:256)
at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422)
at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77)
at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61)
at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:56)
at com.atlassian.jira.plugin.AbstractJiraModuleDescriptor.getHtml(AbstractJiraModuleDescriptor.java:109)
at com.xiplink.jira.git.projecttabpanels.GitProjectTabPanel.getHtml(GitProjectTabPanel.java:130)
at com.atlassian.jira.web.action.browser.BrowseProject.getTabHtml(BrowseProject.java:275)
at com.atlassian.jira.web.action.browser.BrowseProject.getTabHtmlForJSON(BrowseProject.java:244)
at sun.reflect.GeneratedMethodAccessor773.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)
at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56)
at webwork.util.ValueStack.findValue(ValueStack.java:414)
Hi,
I tried to build the master branch with both maven standalone and the one bundled with atlassian plugin SDK but I got the following error:
[INFO] Internal error in the plugin manager executing goal 'com.atlassian.maven.plugins:maven-jira-plugin:3.9.3:copy-bundled-dependencies': Unable to load the mojo 'com.atlassian.maven.plugins:maven-jira-plugin:3.9.3:copy-bundled-dependencies' in the plugin 'com.atlassian.maven.plugins:maven-jira-plugin'. A required class is missing: com/atlassian/maven/plugins/amps/CopyBundledDependenciesMojo
com.atlassian.maven.plugins.amps.CopyBundledDependenciesMojo
Any idea to solve the problem?
Thanks,
Andrea
It would be nice to get this to work with JIRA 6.x
We managed to connect to our gitlab server but the output is not pretty.
We are using jira-git-plugin v0.6. We have around 300 GIT repositories in development which we want to integrate with JIRA .
I would like to know instead of adding GIT repository to JIRA one by one, is there any way to add all GIT repositories to JIRA at once?
Please reply with your suggestions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.