Hello community,
I want to create components for different projects in scriptrunner.
I don't want to go through all projects and create a new component with leader, description and standard assignee.
I only found solutions for updating issue component.
Thanks.
Hello,
You can use the ProjectComponentManager to create a new component for a project. There is the create method.
Hi @tobbk ,
Apologies for posting so late! I'd like to bring your attention to an alternative for creating and modifying components in bulk without the need to script anything.
In Server and Data Center instances of Jira, you can use Profields' Bulk Operations to modify project attributes in bulk. Component modification is one of the most useful operations:
You can see the documentation here: https://confluence.deiser.com/profields/latest/bulk-operations/components
For full disclosure, I work for Profields' manufacturer, DEISER.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.