The "tags" field in TFS has an auto-completion capabilities.
Is it possible to add a user-define field in TFS that will behave like the "tags" field (e.g. have auto-completion list)? If so, how is it done?
There is an auto-completion for fields with pre-defined value list; I am looking for auto-completion for free-text field, so that users can see if someone else used a very-similar string as they are about to enter and choose it. This re-use of existing values reduces the accumulation of slightly-different values that basically say the same thing.
Just as you have pointed out in the updated question. You can enumerate a set of values for a field by defining a pick list as part of its definition or at some point during the workflow. You can specify that the list can contain only allowed values, cannot contain prohibited values, or can suggest values. If you suggest values, users can specify a value other those in the pick list.
You use SUGGESTEDVALUES to define a list of values that a field can contain. Users can specify other values in addition to those that you suggest.
<SUGGESTEDVALUES for="userGroupName" not="userGroupName" expanditems="true | false" filteritems="excludegroups">
<GLOBALLIST name="globalListName" />
<LISTITEM value="Name1" />
<LISTITEM value="Name2" />
<LISTITEM value="Name3" />
. . .
</SUGGESTEDVALUES>
You can also define dependent pick lists, in which you define two or more lists for a field but only one list appears at run time based on the evaluation of a conditional rule.
More details please take a look at this tutorial.
However, what you are looking for the auto-completion is kind of search feature (ex: google)
This is not supported at present. It's not available to do this in TFS now.
Related
So I have 2 tables, the first has a list of acc numbers (column A) and Customer Name (column B). This list will have multiple entries of each customer. The problem is that this list is updated by multiple people who while gets the Acc number right they often mis-spell the customer name.
I have a second list that has the customer acc number and customer name spelt right.
What I want to do is take the customer name with the correct spelling from list 2 and replace the incorrect spelling in list 1.
You use the formula and copy/paste "values only" over WRONG names
=ArrayFormula(iferror(vlookup(A2:A,D2:E,2,0)))
copy/paste these "values only" over WRONG names
As there are probably many ways you can spell coustomer's name incorrectly, it's very difficult to make autocorrect in spreadsheet. Also it may be dangerous.
What I suggest is to use data validation set based on a column with customer names in 'second list'.
Menu --> Data --> Data validation
This method allows manual input or choosing from dropdown list.
It also let's add new customers but it will trigger the warning
I have a Google Spreadsheet, used like a form, with multiple "Skills", all of which have 2 fields within them, a "required field" (used as a flag for if entry in that field is necessary) and a "Current field" (where the user provides input). I am trying to create a "Inputs Left" field which counts the number of "Required fields" which do not currently have an entry in the "Current field" across all of the fields (seen below).
To do this, I am currently using this formula (C12:P12 is the range with the values in it).
=COUNT(FILTER(C12:P12,ISODD(COLUMN(C12:P12)-COLUMN(C12)),C12:P12>0)) - COUNT(FILTER(C12:P12,ISEVEN(COLUMN(C12:P12)-COLUMN(C12)),C12:P12>=0))
The issue I am running into is when a "Skill" is not required, but a value is entered. With this formula, it counts this towards the number of inputs left, however I only want it to count towards this if it is a required field, while still allowing the user to input non-required skills (see below). In this situation, I would like to have it still show that 2 inputs a left (specifically skill 3 and 4 still need input)
I believe I could do this using a OnEdit() trigger with google scripts, but I would like to have it done using a formula if possible. I also believe I could do this with a series of normal If statements, but the actual document has many more "skills", and I believe an endless list of if statements would be hard to debug in the future. Any help is appreciated!
Ended up using a COUNTIFS statement:
=COUNTIFS(FILTER(C12:P12,ISODD(COLUMN(C12:P12)-COLUMN(C12))),">0",FILTER(C12:P12,ISEVEN(COLUMN(C12:P12)-COLUMN(C12))),"")
Because I imagine it's confusing why there is a ISEVEN(COLUMN(C12:P12)-COLUMN(C12)) (and ISODD), the reason is because I needed to do multiple of the "Inputs Left" Fields, and the "Required" field would switch between being even and odd, meaning I would need to edit the formula a lot. Using the COLUMN(C12:P12)-COLUMN(C12) normalized this, so the "Current" was always even and the "Required" was always odd.
I would like to have a custom field in Jira that allows you to
input multiple values
allows you to enter arbitrary text values
has a predefined list of "good" values which you can use for some kind of autocomplete.
The "components" field comes close to what I want.
https://confluence.atlassian.com/jirakb/how-to-enable-autocomplete-renderer-for-multi-select-custom-field-in-jira-754978239.html is another approach, turning a select field into an autocomplete field
I have list of issues which contain certain set of fields (6 custom fields) these fields can be have values only "A"or "B". the my question is how can I filter those issues if one these field have a value "A". let say for a example these custom fields are
cus_field1,cus_field2,cus_field3,cus_field4,cus_field5,cus_field6 and if one these field have certain value how can I filter those issues?
I am not sure, do you mean how to use an 'or' clause? As I understand, a simple "cus_field1=A or cus_field2=A or cus_field3=A or cus_field4=A or cus_field5=A or cus_field6=A" should solve your problem, isn't it?
According to the reference, I couldn't find any possibility to combine different fields, so you have no other choice but specify the A filter value for each custom field...
https://confluence.atlassian.com/jira/searching-for-issues-185729570.html
When choosing 'Add' in CRUD, how best to generate a list of choices to pick from a dropdown?
For U/update - just display what's there...
The field contents starts with a letter, followed by five numeric digits:{A-I,K-N,Z}#####
Each letter has a different 'max' value for the numeric part.
So when adding a new record, I'd like to offer a listbox with one of each letter and that letter's highest numeric value + 10.
So, if the max 'A' as A00120, and max 'B' B00030 (etc) the listbox would have A00130 and B00040.. etc
Save the user having to figure out which is 'next' when generating a new record.
? Thanks,
Mark
This time I'll not be able to come up with ready to use solution, but I must say - everything is possible with ATK4. You just have to customize and extend it to fit your needs :)
Speaking about your question above - I guess you have to split it in multiple parts.
First part is about how to show select box on Create and readonly or disabled field on Update. I guess you can make some custom Form field or pin some action to existing Form Field hook. Not sure exactly what's better in this case.
Second one is about data structure. I believe that this field actually should be 2 fields in DB and maybe (only maybe) merged together in ATK model with addExpression() just for user interface needs to display these 2 fields as one field easily in UI. Maybe such concatenated field will be useful also for searching, but definitely not as only one field stored in DB. Imagine how hard it'll be for DB engine to find max value if such field. Store it like type = letter, num = number and then search like SELECT max(num)+10 FROM t WHERE type='A'
Finally Third part is about how to generate this next number. I read your question 3 times and came to conclusion that actually you don't have to show this +10 numeric value in UI at all if it's hardly predefined anyway. Actually that'll not work correctly if this will be multi-user system which I guess it will. Instead just show simple select box with letters {A-I,K-N,Z} and calculate this next value exactly before inserting data in DB. That can be done using models insert hook. This will be much more appropriate solution and will be better for UI and also more stable because calculated in model not incorrectly in UI part.