Issue Details (XML | Word | Printable)

Key: JRA-6696
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Carl Hoeg
Votes: 10
Watchers: 8
Operations

If you were logged in you would be able to see more operations.
JIRA

Table - new custom field type

Created: 16/May/05 07:15 AM   Updated: 15/Sep/08 04:36 AM
Component/s: Custom Fields (new types)
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Standalone Enterprise
Issue Links:
Reference
 

Participants: Anton Mazkovoi [Atlassian], Arkadiy Chizhov, Carl Hoeg, Jeff Turner [Atlassian], JP Patrikainen, Luke Yang, Mark Chaimungkalanont [Atlassian] and Russell Roach
Since last comment: 3 weeks, 1 day ago
Support reference count: 3
Labels:


 Description  « Hide
We need to insert a whole table as a custom field. example:

Heading1 | Heading2 | Heading3
---------------------------------------------
Label1 | Value1-1 | Value 1-2
Label2 | Value 2-1 | Value 2-2
..

The only way to create the above table today is by creating 4 separate custom fields. The problem is that our table is a lot larger than the one in the example (15 rows * 6 columns).



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Mark Chaimungkalanont [Atlassian] added a comment - 16/May/05 09:10 PM
Carl,

How will this custom field work? ie on the edit screen what do you expect to see? Text boxes for each value? Or just a TextArea that lets you put in the HTML for the entire table?


Carl Hoeg added a comment - 18/May/05 04:16 AM
Ideally, each column should be configurable as either being a text value, drop list etc.

The edit screen could look like this

MARKET | Cost (USD) | Activated (yes/no) | ...
Market1 | [number field] | [radio buttons] | ...
Market2 | [number field] | [radio buttons] | ...
Market3 | [number field] | [radio buttons] | ...

The MarketX labels should be fixed, i.e. the user needs to input info for X nr of markets.

An alternative could be that the "Labels" (Market nr in this example) is chosen from a drop-list. And after inputting one "row" the user can choose to add another "row" (market in this example)

Hope you get the picture?


Jeff Turner [Atlassian] added a comment - 18/May/05 10:03 PM
> Hope you get the picture?

Yes, sounds interesting. I'm wondering if it would be better thought of/implemented as a special layout (sublayout?) of regular custom fields, rather than as a completely new custom field type.

At some stage it will be possible to use Wiki-like syntax to create tables, so one could visually achieve the same result with a normal textarea field. Wiki markup is likely to happen sooner than this, so do you think it would meet the immediate need?


Carl Hoeg added a comment - 19/May/05 03:11 AM
Yeah, maybe it's smarter to do some special layout of the current fields.. as a user I don't really care how it's implemented

I don't know how wiki-markup works.. it sounds like I still have to create tons of separate fields though and then use wiki-markup to improve the layout? Since I already have a zillion custom fields and JIRA currently does not have good support to organize them this does not sound like a great solution... i.e. it won't meet the immediate need


Jeff Turner [Atlassian] added a comment - 19/May/05 04:26 AM
Re. Wiki markup, the way it works is you enter text, almost exactly as you did in the description:
Heading 1 Heading 2
value 1 value 2
value 3 value 4

And this gets rendered into a proper HTML table.

This is presumably fine for displaying tabular information, but no good for entering structured info when creating issues.

I'll leave this issue open for now to gain votes, and it will come up in future planning meetings for consideration.

Cheers,
Jeff


JP Patrikainen added a comment - 10/Apr/06 01:52 PM
You probably have to do this by using JAVA-applet :|

Our need is to create manual test cases like this:

Text Field: Test case name
Text Field: Precondition

<b>The table:</b> Steps
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Step ID </th>
<th class='confluenceTh'> Action </th>
<th class='confluenceTh'> Expected Result </th>
<th class='confluenceTh'> Pass/Fail </th>
<th class='confluenceTh'> Tester </th>
<th class='confluenceTh'> Test date </th>
</tr>
<tr>
<td class='confluenceTd'> 1 </td>
<td class='confluenceTd'> Do this</td>
<td class='confluenceTd'> This happens </td>
<td class='confluenceTd'> [combobox: PASS/FAIL] </td>
<td class='confluenceTd'> [combobox: users] </td>
<td class='confluenceTd'> [date time picker] </td>
</tr>
<tr>
<td class='confluenceTd'> 2 </td>
<td class='confluenceTd'> Do this to</td>
<td class='confluenceTd'> This happens </td>
<td class='confluenceTd'> [combobox: PASS/FAIL] </td>
<td class='confluenceTd'> [combobox: users] </td>
<td class='confluenceTd'> [date time picker] </td>
</tr>
<tr>
<td class='confluenceTd'> 3 </td>
<td class='confluenceTd'> .. </td>
<td class='confluenceTd'> </td>
<td class='confluenceTd'> </td>
<td class='confluenceTd'> </td>
<td class='confluenceTd'> </td>
</tr></tbody></table>

.. but if it is possible to do it by using HTML... it would be great.

-JP


Anton Mazkovoi [Atlassian] added a comment - 18/Apr/06 03:32 AM
Hi JP,

The wiki formatting renders HTML when the issue is displayes. Does this meet your needs?

Thanks,
Anton


Russell Roach added a comment - 25/Jun/08 08:25 AM
We have a need to add a list of file names to a request in jira. We currently need to attach an excel spreadsheet to the request. This of course is prone to error.

Arkadiy Chizhov added a comment - 10/Sep/08 02:57 AM
Hi, I need this necessary feature? When you plan to implement this custom field?

Releted link: https://support.atlassian.com/browse/JSP-27524


Luke Yang added a comment - 12/Sep/08 10:24 AM
Hi, guys

This is Luke from Korean partner, Goldpitcher.

I think this function is essential if the data needs to be searched by column and reported with it.
Actually I am thinking of implementing with Custom Field Type plugin because our customer want this type of function.

In this case, my story is like at first stage user add custom field, option table size and label (comma separated) can be set.
And then, if this custom field is shown, pre-determined size of table-style input text boxes has come.

My question is that I wonder this kind of story is possible for implementing with plugin.

Any advice will be helpful.

Cheers,
Luke


Anton Mazkovoi [Atlassian] added a comment - 14/Sep/08 11:04 PM
As custom fields can be implemented as plugins it should be possible to write this as a custom field.

However, you can save yourself a lot of trouble by using wiki markup as pointed out by Jeff:
http://jira.atlassian.com/browse/JRA-6696?focusedCommentId=35992&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_35992

For more information on using wiki markup, please see:
http://www.atlassian.com/software/jira/docs/latest/configurerenderers.html

Cheers,
Anton


Arkadiy Chizhov added a comment - 15/Sep/08 04:36 AM
Anton, decision like this
"However, you can save yourself a lot of trouble by using wiki markup as pointed out by Jeff:
http://jira.atlassian.com/browse/JRA-6696?focusedCommentId=35992&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_35992"
is usefull. But my users of system need to get more simple interface - without wiki markup, only field where they can input only value of this field.