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.
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
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
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.
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.
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.
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!
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG