Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using a JIRA workflow function to create a new issue in another project

Context

I have a JIRA project for core product which we use both for bug tracking and managing product backlog as epics and stories.
I have a number of projects using that core product - each has its own JIRA project. Each project may identify product bugs and/or new feature requests for the core product.

Problem

I have been looking at creating a workflow for the implementation projects which would include transitions to 'Product Fix Requested' and 'Product Feature Requested' steps.
I was planning to include workflow functions in those transitions that would create a new bug or improvement request in the core product project and link it to the issue in the implementation project.
This would allow us to keep track of project requests whilst keeping all the bugs a feature requests for the core product in one place.

Question

Does anyone know of any workflow plugins that provide this sort of functionality?
Alternatively, would anyone have any thoughts about how I might go about doing it myself. In particular, I'm not sure how I would get hold of the target project from within the function...?

like image 328
Peter Whitfield Avatar asked Oct 11 '22 05:10

Peter Whitfield


2 Answers

We've just achieved this by using the CustomWare Jira Utilities plugin. Seems to work quite well in Jira 4.3 too.

like image 74
Mark McDonald Avatar answered Oct 18 '22 03:10

Mark McDonald


We use the Jira Scripting Suite plugin. It allows you to do do pretty much anything via Jython scripts.

Using the Jira Code API can be a bit intimidating but this example should provide you a good start for creating issues.

like image 27
Matt the Big Avatar answered Oct 18 '22 03:10

Matt the Big