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

Auto assign projects to field contexts

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

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

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

231 views 1 2
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