Forums

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

Can I assign a component to a project that will auto add that component to the project tickets

Dorothy Paredes April 16, 2018

I would like to associate a component to a Project where every ticket that is created within that Project will automatically have the Project component added at creation. 

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2018

That seems somewhat unneccessary.  If all issues in a project have the same component, then you already know that they have something in common because they're part of the project.

You will need some code to do this though.  A simple post-function that adds the component if the user has not already done it on create.

Dorothy Paredes April 16, 2018

Thanks Nic for the quick answer, much appreciated.

Def understand what you mean on the necessity, to give a little context, we have a team of IC's where the team works on/develops several initiatives, each of those initiatives have their own Jira Projects to track work. We have categorized those projects to Groupings which is why I was wanting to be able to auto add a component when a ticket is created because the component would be applicable to more than one Project.

Thanks again,

Dorothy

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2018

Ok, it's always good to hear why people are trying to do something, as it can lead to other ideas!

Have you used Project Categories?  Each project can put into a category, and that might be easier for you than adding components.

You can search for issues on projects by saying "Category = xxx" as well, which may well also work better than components

Components belong to projects and are separate entities, even when named the same - if you had a component called "penguin" and you added it in three projects, your search for it would have to read "component in (penguin, penguin, penguin)"

Dorothy Paredes April 20, 2018

Hi Nic, we do have project categories, thanks for the tip on searching for issues using the category as well has how I would have to set up the search if we had components, I did realize I would have to list it per project ... good to know. Thanks!

Suggest an answer

Log in or Sign up to answer