Script Fragments Create Constrained Issue dynamic project

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

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

0 vote

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

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

68 views 0 5
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you