Within the JIRA java API is it possible to make JIRA bring up the project creation menu on a method call? Is there a link to the project creation dialog to which one might redirect a request?
Does there exist a JavaScript trigger that one can attach to the click event of the button? Something like this:
AJS.$("#web-item-key").click(function(e){
e.preventDefault();
// trigger Create Project dialog
});
You can add a button somewhere that triggers the opening of the 'Create' dialog. You won't be able to do that from Java though because the redirect won't open the dialog.
It is possible to add web items or even javascript using web resources in a plugin. Check those options to see if that helps.
But what does the web item link to in order to trigger the create project dialog to open?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to add your own button using web-item module in the UI somewhere, based on what your plugin does. The button will be similar to the standard 'Create' button JIRA has.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But what do I set the link and param target elements of the web item module (in atlassian-plugin.xml) to so that the web item will link to the create project dialog?
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.