I have an Custom Field of multiline-textArea type, which is ReadOnly and Wiki Style Rendered. The value(s) will be filled programatically from another tool.
What i need in addition, is this particular custom-field can contain multiple values(not predefined as in MultiValueComboBox). For example, an Issue can contain multiple comments, that are added at different time.
So my Custom Field should also be able to contain multiple (0 - n) different values per Issue. Better if they are collapsible too.
Start at https://developer.atlassian.com/display/JIRADEV/JIRA+Plugin+Development You'll need a "custom field" module. You have a couple of big design decisions to make. If you want to stick to the basic way of doing things, you'll need to consider how to store multi-line data in the database in a a way that your field can extract and convert to a comment-like structure, and when being added to, it needs to take the existing data and append rather than overwrite. Or, you can do it in a more structured way - you'll need a new table in the database, structured for multiple lines per issue, with each line having author, date, content etc, and a way to read/write it directly - this is a little more complex than a simple custom field plugin, but is the correct approach
Seriously, if you already have this in place for single value, why don't you build a workaround like this?
Instead of overwriting the current value in that field at updates, why don't you append (or prepend) the new value to that? If you need some metadata (like update time), you can also include that in the string appended.
I know it is not fancy, but can be built with minimal efforts and may solve your problem.
@Ferenc Kiss [Midori] & @Nic Brough [Adaptavist]
I appreciate both of your thoughts. I understand that creating a new table in database would be more structured, but it will take hell lot of efforts. So i was wondering is there a way to:
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