JIRA JQL: How to search for issue with particular component alone? - search

I'd like to search for issues which have component A alone not but A + B, A + C, A + N and so on...
Taking into account that I may not know all the combinations A + N to list them in the "not in" black list and also that it would be good to avoid updating searches every time new combination is used.

What I believe you are saying is known are all components A thru N, but not all of the combinations of components used. If that is the case, we can exclude all of the components we do not want and only include the one we do, like so:
Components = A AND Components not in (B, C, D, E, F, G, H, I, J, K, L, N)
This will show only those jiras that have only the A component.
Reference: https://confluence.atlassian.com/jira/advanced-searching-179442050.html#AdvancedSearching-Component

I agree with #Chris, I think it is not possible, and i don`t know any plugin that supports that.
If is something really important and mandatory, i used to combine Jira and Excel usage for achiving this kind of tricky stuff:
use your JQL expresion: component = yourComponent
Export your search to Excel
Once in excel create some filter on Component column like: text filter>does not contain ","
now that you have filter wich are with just one component, copy all your showed results, and paste them in another sheet.
Finally filter your component column again, this time selecting just yourComponent.
It is a bit long proccess, but this way you ccan quickly search what you need.
Tip: you can automatize this proccess, using macros and formules.
Hope to help,
Regards

Related

Custom format with custom Multiples Excel

I recently wanted to create an excel table to note all my electric components that I have so I can easily find the right component without searching every time for it.
The problem is, especially with capacitors, they come with a wide range of values generally for me between 220uF and 10pF, and I want to create a custom format to display the values properly in excel, for example if I put in a cell 0.00022 it shows 220uF or maybe 0.22mF (but 220uF is better) and not 2.2E-04 or any other format.
I tried the custom tool but I don't know how to add the micros, nanos and picos.
You can add conditions to the formatting, like:
[<0.00001] 0.00%%% "pF";[<0.001] 0.00% "uF";#
This will show 2.20%% uF in the cell (so you can multiply by using the percent sign, more details here).
Drawback: the percent signs are shown, and the Ctrl+J trick described on the link does not really work for me (and I personally find it as an ugly solution).
If I were you I'd add a new column called "Formatted" where I multiply the values with formulas. Like
=IF(A1<0.00001,A1*1000000 & "pF",IF(A1<0.001,A1*10000 & "uF"))
It's easier then to search in both columns (one is by formatted, like all "uF", other is by real Farad value. Also you could use the original column for sorting.

Selection based on several inputs without extreme duplication

I have a library of data that i need to pull specific rows from, at the moment i have an ID made up of several dropdown menus =$C$2&$F$2... that i compare to an index made up of a combination of column content: =[#Column1]&[#Column2]... that i then use to pull the right data for that instance with VLOOKUP.
Now however i need a much more varied set with more selections, 5 columns worth. That creates 16 sets for every index on the first column and will generate thousands of lines if i am to create one version of every permutation.
The best scenario would be a way to use a modular form of the selections above, if there is any input on X, Y and Z then it functions like now, but if Y and Z are empty it only pulls X. Easy in theory but i dont know the format it will have to take, and it gets even more complicated if i want X and Z for instance, or Y and Z, but still create a neat list of the selections.
An alternative might be a way to pull tables based on a selection, and make one table for every "part" of my query but i cant find a way to do that either.
What i need is any way to pull and combine several rows from a library (based on dropdown or similar input) and assembled in a neat list that i can print.
First post, and thanks in advance =)

Multi-Word Vlookup

I have the below issue to consider in one of my worksheets.
Column A contains identifiers from a list, Columns B to F contain various data matching each code.
I have an additional column(M) which contains my own identifiers. What I want to achieve is to match the my identifiers with the ones from the list so I can pull the data from columns B to F according to my codes. These identifiers are mostly the same, with only slight variations.
I've tried with vlookup and wildcard, but I've only been partially successful.
Sample data looks like this with below formula in column M:
I'm using =VLOOKUP(A2&"*",mockup2,1,0) as a formula in "Matched" column; mockup2 is B2:B9 in the given sample.
However, it fails when there's not an exact match found, using "TRUE" seems to break the other ones that are working fine.
What I'm looking to achieve should look like below:
A few things to note, is that the full data contains more identifiers which are different from what is shown in the sample. The only thing that shows up in multiple identifiers is -C, an example of more identifiers would be BLK, CDAS, BLK S, BLK A, KYUIS-C, KYUOXAR T etc.
Is there a way to achieve what I want with Excel?
https://photos.app.goo.gl/tmRJfQK6DM2Hu7nYA
=IFERROR(INDEX(SORTBY($B$2:$B$9,LEN($B2:$B9),-1),MATCH(1,(LEFT(A2,LEN(SORTBY($B$2:$B$9,LEN($B$2:$B$9),-1)))=SORTBY($B$2:$B$9,LEN($B$2:$B$9),-1))*(SORTBY($B$2:$B$9,LEN($B$2:$B$9),-1)=LEFT(A2,LEN(SORTBY($B$2:$B$9,LEN($B$2:$B$9),-1)))),0)),"")
I don't know if it's to be entered as an array function (ctrl + shift + enter, since SORTBY is an array function already, but my version of excel does not support this yet. This is available in Office 365.
I sorted the data by length manually in the snipe, but I think the sortby will work without having to pet the data.
Let me know if it works for you.

Return the value in the first non-empty cell in the column directly to the left and going upward

I'm all new to VBA and have mostly been trying to modify code after recording macros, so it's all pretty basic and the approach might not be as elegant as some of the stuff I've seen on here. So here we go.
I have coded (by brute force) my data to be arranged like a CAD design tree view with parent products/assemblies and constituent sub-assemblies/parts.
Column E contains Level 0 top assembly Part Number
Column F contains Level 1 items Part Number
... etc all the way to ...
Column M containing Level 8 items Part Number
As an example, cell G112 contains ASSY1; cells H113 to H134 contain its constituent items.
I would like to display in a new column (i.e. Column O) the value of cell G112 (ASSY1) for each of its constituents. So O113 to O134 would show the value of G112. That would need to be applied to every single level of the assembly.
I'm not sure I'm making much sense do please have a look at the picture linked below, it speaks a thousand words. I've highlighted and colour-coded the result I would like in column O.
ADDENDUM - To clarify things:
I don't know how else to explain my request but to post a simplified version of my original picture.
SIMPLIFIED EXCEL TABLE
.CSV available here WeTransfer
A very useful tool to retrieve VBA code for determined action is the macro recorder, in the ribbon, Developer -> RecordMacro, perform you action and stop recording and then you can check the code generated for the actions you recorded. Its not the cleanest code but you can find there the lines of code for the specific actions you want. Once you step into a one concrete problem with the code you tried, you can then ask for help regarding something more concrete, more than expecting that someone will code that for you.
Anyhow if you want someone to try to solve your problem, you need to post the table with the accessible data instead of the image, for the person whoever tries to approach your problem to have the data available.
Hope that helps
Here's the answer I got from somewhere else if anyone is interested:
Formula in Cell O3:
=IF(C3=0,"N/A , ALREADY TOP LEVEL",INDEX(D$2:D2,AGGREGATE(14,6,(ROW(D$2:D2)-ROW(D$2)+1)/(C$2:C2=C3-1),1)))
Copy/Paste down in every cell in column O

Count categories changes in Excel

I have specific problem which is best described by a picture.
E1:G10 are rules for categories e.g. change from cat C to C will cause 1 hr delay.
There are products which fall into category of a products A, B and C. Next to it you can find quantities of which they are produced.
f you want to rebuild machine from cat. A to B etc. it will cost you time (ruling is described next to it).
I need to find a way how to determine time of rebuild. I did it manually and you can see it column C. However, I wish Excel would do it automatically. Later I am using data in solver.
Does anyone know solution to my problem?
Thanks in advance.
I would use the formula sumifs.
For example the first category "C" with 1000 parts will change to category "A":
"=sumifs(G:G, E:E, A2, F:F, "A")"
I would also suggest you to put additional column with target category change and implement it to the formula.
Hope it helps.

Resources