Not really. Components belong to projects.
You could try to wedge in a spot of javascript to remove components from the selection lists based on the issue type, but you'd still need the full list at the project level.
I have added certain components in a project. How can i make use of those components in my project?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Components are offered as a field on issues during create and edit, so you just select the ones you want on an issue.
If you're missing the field, check screens and field configurations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Has this changed at all in the last 5 years? We would like to be able to do this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nope, components remain project-level items.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to default it on-screen, you can use things like the Behaviours module in Scriptrunnner. If you want to set it without asking the user, you can use a post-function in the workflow to set one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want to set it without asking the user.
Basically, I'm using JIRA as our internal work request system in a company where our department is one of the only ones that uses JIRA. I've set up a project whose entire purpose is to route new requests to the different people for approvals.
When a new request comes in, it needs to get automatically assigned to different people as it goes through the approvals process. Because there are different departments that might request work of us, I have to have a separate workflow, and thus, separate issue types, for each department because the list of roles to which issues can be automatically assigned by workflow is quite small. If I could automatically set component by issue type, I could at least cut down the number of workflows from one per department to one, period.
I'm well aware that there may be a better way to set this up; if you can think of one, please let me know.
Also, for the sake of simplicity, assume that my organization will not allow any add-ons. The truth is that they are allowed, but would take so long to be chosen, paid for, and installed, they may as well be considered to be.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>assume that my organization will not allow any add-ons
You can't do it then. You need an add-on to provide the code, or a place to put the code for the post-function you need to use in the workflow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I usually reach for Scriptrunner, because I know it quite well and have the experts who wrote it on tap
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.