I am using https://developer.atlassian.com/server/framework/atlassian-sdk/developing-a-rest-service-plugin/. I am able to import the project into eclipse and can successfully do maveen build and maveen install. Now I to run / debug it from eclipse. Can you tell me what will be the goal in the launch config. If you can share a sample launch config, that will be great.
Also bydefault the uri to access the rest resource is
http://<host>:5990/jira/rest/myrestresource/1.0/message
Is there any way change it just http://<host>:5990/jira/myrestresource/
You should run it with atlas-run or atlas-debug commands. Then if you made changes to your plugin and packged it, the plugin will be reinstalled automatically.
I want the break point to hit within my eclipse code. That is not happening with atlas-run. I guess there should be some way to run the plugin from the eclipse. What we need is a proper launch config.
Have you debug the JIRA plugin code from eclipse? If yes, please provide me the steps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should user atlas-debug command to launch Jira. Then you configure debug options in Eclipse (use default port). You can find more info here:
https://www.eclipse.org/community/eclipse_newsletter/2017/june/article1.php
Then you set a breakpoint in your code and execute the required action in Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your answer. https://developer.atlassian.com/server/framework/atlassian-sdk/creating-a-remote-debug-target/ was useful along with your suggestion. Port will be 5005 instead of 8000
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.