It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,085 views 7 0
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you