Hi all,
My customer has a request. The request is for a new menu pull-down option that essentially does exactly what more -> link does but has a different name and has only one link option. If I were a little more experienced at writing plug ins I am sure this would be fairly straight forward, but I am not.
Here is the senario. I have completely automated the hot-fix process, short of one little problem. When more than one JIRA issue needs to be associated with the hot fix, one of them is cloned through the clone plus plugin, and all fields are automatically, correctly populated. The other issues then need to be link to said hot fix issue, and my customer wants a unique menu item for that.
Any ideas?
My only thoughts were to either have a issue field that simply lists them, but then they are not two way linked. Or to have a text field that lists them and autolink them in a post function. The problem with that is it does not account for typos etc
Thanks,
Robert
Found this, which will have to work unless anyone else knows of any commercial plugins that would create a customized link menu item. https://developer.atlassian.com/jiradev/jira-platform/guides/other/tutorial-adding-menu-items-to-jira
The solution I am going to imploy is to use the skeleton from the above which created a menu item for a web link. And then have the web-link use the CLI to create the link.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What CLI?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What CLI lol? Only the best plugin I have ever used. _ https://marketplace.atlassian.com/plugins/org.swift.jira.cli/cloud/overview
I like the Bob Swift plugins and their support is fantastic!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh yes Bob Swift's CLI. Yes we tend to sell it a lot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I did intend to respond more quickly. Adding a 'web-item' would let you add a menu item to say, the operations-operations menu.
This isn't the whole picture, though. It might be worth looking at the Source Code for the linking feature inside of JIRA in case you can reuse the link dialog, but I can't seem to find the link dialog in 'JIRA.Forms' javascript library.
If you need to create your own UI, you should trigger your own javascript. Perhaps your 'submit' button could use AJAX to talk with JIRA and create the link.
Script Runner allows you to define web-technology (resources, web-items) as well as other logic without creating a plugin. That's the only commercial option I can think of that would help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have and frequently use script runner. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh! Yeah, well, in that case you can define a web-item and a html and js web resource that is triggered when you click on it. The dialog that comes up should communicate with JIRA via AJAX over the REST API to update the appropriate issue.
If you tag you question with scriptrunner the Adaptavist guys are very quick to respond and others (like me) are usually willing to help too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
True, but I come from a past of writing web tools that are based bash scripts. It is the world I have known for 30 years, and so if the cli can create a link then I would start with that. I should really dive into the REST API and have tried, but then other priorities prohibited me from diving very far. I use script runner all the time for scripted validators and post functions which uses a the API, but only in a basic manner... Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes or yes I am looking to attack this any way I can.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you looking to attack this with custom development or with plugins? This isn't possible out-of-the-box.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.