Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create a popup screen to create a new issue off an existing one

Silvia
Contributor
July 10, 2020

Hi, 

I'm trying to provide users with the ability to easily build out Project hierarchy (Initiative->Epic->Feature->Story.' Using the 'Create' function means they need to manually populate a number of fields that can instead be easily inherited from the 'Parent' (ex: Initiative Key, 'Child of' link, etc.). 

To start, I added a transition to the Epic workflow named 'Create Feature' and used Scriptrunner's Post Function ‘Clones an issue, and links’ with specified Issue Type = Feature, identified the fields to clone, etc.  This clones the issue just as expected.  However, the user then needs to find the issue and edit the Summary and Description.  Instead, I would like to allow the users to fill in this info while still on the 'parent' issue.  I've tried adding a screen on the Transition, however when editing this info, it updates the existing Epic as well.  Any ideas on how to get this working?

Thank you,

 

Silvia

1 answer

0 votes
Martin Bayer [MoroSystems, s.r.o.]
Community Champion
July 10, 2020

You can try this functionality https://scriptrunner.adaptavist.com/6.4.0/jira/fragments/CreateConstrainedIssue.html implemented as part of scriptrunner. You can also use behaviours which will help you to fill values from parent issue, it is also described in Behaviours Integration section in the same article.

Silvia
Contributor
July 13, 2020

Thank you! That sounds perfect!

I did run into an issue when trying to build the web item, looking for section 'tools-menu-additional'. Scriptrunner version 6.1.  Did I miss a step?

Thanks!

 

Silvia

Martin Bayer [MoroSystems, s.r.o.]
Community Champion
July 13, 2020

There is info block in "tutorial" which says that item is placed in new web section. But I would try "obsbar-operations" jus to test it.

Selection_449.png

Suggest an answer

Log in or Sign up to answer