Script Fragments Create Constrained Issue dynamic project

//SEIBERT/MEDIA February 16, 2017

In the Create Constrained Issue fragment we must specify a project. Is it possible to set the project based on the contextIssue where the action is triggered from?

2 answers

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 21, 2017

You need a context provider. This makes additional variables available to the URL. There's a full example here: https://answers.atlassian.com/questions/43888344

0 votes
Phill Fox
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 16, 2017

The constraint in this instance is the project in which the new issue must be raised. There is a way to script the creation without it being in a set project. But this requires a slightly different approach to the Create Constrained Issue approach. 

Although if the number of projects is small you can just create a constrained issue creation for each project.

You can contact me direct at pfox(at)adaptavist.com

Suggest an answer

Log in or Sign up to answer