Hi everyone, as I'm new in Jira Dev, I need some help from you, pls. I want to debug a Jira instance (Jira 7.3.1) in eclipse, but I don't know how... Only to debug Jira instance locally, do we need always to create a plugin?
So, which are the steps(from scratch) to follow to be able to debug jira instance (lira 7.3.1) localy?
Thx.
Thx, for your support. But, I'm facing another problem. I followed the tutorial https://developer.atlassian.com/server/jira/platform/writing-jira-event-listeners-with-the-atlassian-event-library/, and after I did exactly like described in the tutorial, I got some maven problems(I created a lira plugin project with command=atlas-create-jira-plugin and than executed the command = atlas-run + atlas-mvn eclipse:eclipse, to make an eclipse project and than imported in eclipse IDE, but I got some problems with pom.xml.):
Project build error: Unresolveable build extension: Plugin com.atlassian.maven.plugins:maven-jira-plugin:6.3.15 or one of its dependencies could not be resolved: Could not find artifact com.atlassian.maven.plugins:maven-jira-plugin:jar:6.3.15 in central (https://repo.maven.apache.org/maven2)
Missing artifact com.atlassian.plugin:atlassian-spring-scanner-annotation:jar:1.2.13
Missing artifact com.atlassian.jira:jira-api:jar:7.7.1
Plugin execution not covered by lifecycle configuration: com.atlassian.plugin:atlassian-spring-scanner-maven-plugin:1.2.13:atlassian-spring-scanner (execution: default, phase: process-classes)
Project build error: Unknown packaging: atlassian-plugin
Missing artifact com.google.code.gson:gson:jar:2.2.2-atlassian-1
If you don't have an maven project, than it works otherwise you will get the errors in pom.xml with errors described above.
Any idea , how can be solved? Thx
I think you should create another question with this dependency problem. In this case people, who can help, can see your question and answer. And if another person have a similar problem with debugging, this person will find this question, but there will be an answer for a different question, which is not good.
Anyway I think that when you package your plugin, you do not use the maven from the atlassian-sdk, but from another place. You should set the correct maven location in Eclipse.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You need to run your Jira in debug mode. You can find how to run Jira in debug mode here:
https://community.atlassian.com/t5/Answers-Developer-Questions/Start-JIRA-in-Debug-Mode/qaq-p/557166
Then create a remote connection in Eclipse:
Start the debugger using a remote launch configuration and specify the address and port of the remote computer.
That is it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.