Forums

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

Auto assign projects to field contexts

Tobias Haak September 20, 2019

we have a number of custom fields and would like to restrict the field context for these fields only to a certain type/category of projects. As these projects are created semiautomated it would also be necessary to assign the the new projects automated during the creation process (based on project category) to the field context.

I tried this within a script listener (Scriptrunner). I can read the ProjectContexts and I also can modify them respectively, but adding does not work as the collection is unmodifiable. Any ideas? Any example ?

1 answer

1 vote
Christian Schlaefcke
Contributor
October 4, 2019

Hi Tobias,

I think this post might contain the answer (JamieA, Jan 14, 2015) :-)

When using Script Runner´s built-in-script "Copy-Project" the field context will be extended by the target project. But this will only happen it the source project is already listed in the field context configuration. I have already verified this in a Dev-Instance and it works (y)

Best Regards,

Christian

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events