Adding a "Create Jira Ticket" view to an Eclipse RCP application - eclipse-plugin

I work on an Eclipse RCP application and we are trying to encourage people to move from our old trac bug reporting system to our new Jira based system.
Due to users being unfamiliar with Jira, they tend to still report bugs by the old system in preference to the new system. We don't want to force people to switch by taking down the old trac system, so I thought that if it were much easier to report via Jira however, they would be much more likely to switch.
What I was thinking was that I could integrate a "Submit Jira Ticket" view directly into our application, so that submitting a ticket was always a button click away, and where some of the complexity of Jira could be hidden behind default fields added by our application.
What would be the easiest way to achieve this? Are there already eclipse plug-ins that I could add to my Eclipse RCP configuration, or would I have to write my own view plug-in?

One option would be to use the Mylyn Eclipse plugin which already has a JIRA connector. This lets you create, update, view and search for issues and has been around for a while, so it's very stable.
If you want a simpler form to just submit issues, then you'd probably have to write your own view. JIRA provides a REST API that would support this.

As noted by #NickWilson, you can use Mylyn as the vehicle..
Have a look at the extensions points org.eclipse.mylyn.tasks.core.templates and org.eclipse.mylyn.tasks.bugs.support. For an example of their use by Atlassian see the plugin com.atlassian.connector.eclipse.jira.ui.
These extension points are used to report bugs via the "Help" >> "Report Bug or Enhancement..." menu item.

Atlassian has a plugin for Eclipse depending on the version of JIRA.
https://marketplace.atlassian.com/plugins/com.atlassian.ide.plugins.eclipse.jira
Once you install this plugin, use that updated eclipse install as base eclipse install and include the feature in your bundled rcp application.

Related

Where to find Quarkus run configuration in Intellij IDEA?

Some time ago I used to run Quarkus projects in Linux as any other proyect, this means by clicking "Edit Configurations" and selecting "Quarkus (Maven)" as you can see in this picture:
But now I´m using Windows and those menus have disapeared:
As an alternative currently I´m running my Quarkus projects from Maven tab, which isn´t a fashion way:
So at the begining I thought this was due to a bug in Quarkus Tools plugin that I created a new issue, however that plugin does not offer such feature. Could anybody give a hand on how to run Quarkus projects as any other project? Thanks in advance.
Run configurations are offered by this plugin: https://plugins.jetbrains.com/plugin/14242-quarkus-integration
Looks like it is discontinued though, marked as "deprecated" and it's not showing in the Plugin marketplace (within IntelliJ) for me, so I had to install it via the website.
AFAIK there are plans for the official JetBrains bundled plugin to support it (https://youtrack.jetbrains.com/issue/IDEA-228507), but it's not done yet.

How to vizualize spring integration file in intellij idea 14?

On the page https://www.jetbrains.com/idea/whatsnew/ it is said that Intellij Idea 14 has got a visual diagrams for spring integration.
But I can't find how to visualize my integration xml file.
(right click on file)/Diagrams/Show Diagram... shows a diagram with links between the beans. It is not very usefull.
Spring Integration Patterns plugin is enabled
I have Intellij Idea installed on a computer without access to the internet. May it be the reason why the diagrams are not working properly?
What do you want to see there?
For example.
We have stomp-chat sample: https://github.com/spring-projects/spring-integration-samples/tree/master/applications/stomp-chat
And here is a diagram for this config: https://github.com/spring-projects/spring-integration-samples/blob/master/applications/stomp-chat/src/main/resources/org/springframework/integration/samples/chat/stomp/server/stomp-server.xml
I'd say that it is OK, however I agree that it would better if I'd provide id attribute for all components.
Of course, Spring Integration Patterns plugin has to be switched on.
This link helps - https://devnet.jetbrains.com/message/5529839#5529839
"Please make sure the XML file is correctly configured in Spring context setup via Spring facet.
It requires spring-integration-core to be in module dependency of selected XML file."
I had the same problem, and found that in addition to having the Spring facet enabled, and having the spring-integration-core dependency and having the relevant context file set as an application context under the facet, you also need to have just the containing module open. i.e. the stomp-chat spring-integration sample provides the "Spring Integration" diagram option if it is opened from its own pom.xml, however if you open the parent applications\pom.xml then the "Spring Integration" diagram option is not available, regardless of facets etc.
I have the same problem in a project where I use spring integration 2.1.4.
In a newer project I use 4.0.0 and there Intellij Idea offers the option to open the spring integration diagram.
Perhaps that is the reason and you "only" need a newer version of spring integration.
The issue is that the newer versions of Intellij create separate modules per source set by default which somehow ends up conflicting with earlier setups. Using Intellij 2016.1, I instead reimported my project with the following options checked:
Once I did that then (right click on file)/Diagrams/Show Diagram once again gave me the Spring Integration Option.
Yes, click on your Spring Integration context file > Diagrams > Show Diagram... > Spring Integration., but if you haven't this menu follow below:
You should have identified integration context as Spring XML based configurations. Instruction here : Create a Intellij file set
I don't know why, but I had a problem with Spring Integration Diagram when I installed Springirun plugin.

Eclipse plugin is listed with other plug-ins, but UI contributions are missing

I wrote two Eclipse plugins that work fine when I use Eclipse to run them in another instance of Eclipse. I'd like to distribute the plugins to a relatively small number of people for feedback and was hoping that the dropins folder would provide a quick and dirty solution. When I put the plugins in the dropins folder of my Eclipse installation (Indigo), I see the plugins listed with other plugins in the installation details. The UI contributions are missing and I haven't been able to find any error messages in the logs or otherwise.
As stated, I'm looking for a quick and dirty solution. I intend to build an update site in the future, but would prefer to invest time into that only after getting feedback on the plugins because this is a side project.
It sounds like your plugin is loaded, but isn't started. A 'quick and dirty' solution is to have it use the org.eclipse.ui.startup extention point so it is activated on startup.
Another possibility is that your UI additions just aren't activated for the perspective, which you can fix by running Window > Customize Perspective.

How to write an IntelliJ IDEA Plugin?

IDEA has many plugins to use. I.e. IDEtalk is one of them which I use. How can I code a simple plugin that just connects to Internet and shows a web page? (no need for an address bar but it is not a problem to be). I want my plugin's shortcut's button locate at my IDE as like IDEtalk, Commander, Maven Projects etc.
Any ideas?
Check the documentation and the source code of the other plug-ins available in the public git repository of the Community Edition.
There is a Creating Your First Plugin guide on JetBrains web site. It covers all the needed steps from plugin creation to deployment to the plugin repository.
You might also want take a look in the source code of a simple plugin like Twitter Integration Plugin which I recently implemented. Or check a more complex one like this one.

Force.com IDE - Eclipse Plugin doesn't work?

I'm new to Apex and have just downloaded Eclipse to get to work
Eclipse SDK 3.3.2
I've followed the instructions on
http://wiki.apexdevnet.com/index.php/Force.com_IDE_Installation_for_Eclipse_3.3.x
and have added the Remote site:
http://www.adnsandbox.com/tools/ide/install/
but i get a dialog telling me
"No features found on the selected site(s). Choose a different site or site category"
Any ideas what i've done wrong??
Thanks
Dan
Try that process from a clean eclipse install, and repeat the installation steps, making sure that before clicking on "Finish" you unselect the checkbox at the lower left: "Ignore features not applicable to this environment".
Also, check if http://www.adnsandbox.com/tools/ide/install/ is accessible from your workstation.
Please check your proxy setting by accessing "http://www.adnsandbox.com/tools/ide/install/" URL in any of browser and update proxy setting in eclipse.
Force.com now has a standalone development environment that you don't need to download Eclipse for. Just putting it out there for people who stumble across this post.
Install the latest Eclipse Ganymede and try that.
Another good news for you is, force.com is coming with Eclipse galileo plugin in coming release.