Forums

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

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 Champion
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
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events