We currently use components to capture some of the following information for an issue:
Among others. Each might have multiple values so we find components is the easiest way to deal with these, especially for filters and searching.
Except when it comes to exporting.
We use export to excel to report to the customer but we have to manually separate out the project id into a new column so it can be consumed on their side easily.
Is there a custom field type we can create that otherwise acts the same way as component's so that the project id and component's export separately?
No. I don't think there's really a useful way to do this even with code.
The component is a single field which may have multiple options selected. A column in excel is a field. So if you select three components, it puts all three values into that one column. It's not accurate to separate them out.
The closest I can get is to use the Script Runner to create a number of scripted fields which will each contain only one of the components - you can leave these off all the screens, so they only get used in the issue navigator and hence get downloaded to excel.
There's also two ways to approach it:
In both cases, you've made a new headache in maintenance, as you'll need to think about new fields and re-indexing every time someone adds a component option. And re-indexing the project if someone changes the name of a component.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs