New and Improved 3.13 Beta. Highlights: Shareable filters and dashboards and lots of other goodies. Any feedback can be raised as JIRA issues in the JIRA project.
Issue Details (XML | Word | Printable)

Key: JRA-4704
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Mark Chaimungkalanont [Atlassian]
Votes: 29
Watchers: 14
Operations

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

Configurable Custom Fields

Created: 30/Sep/04 01:29 AM   Updated: 26/May/08 06:11 AM
Component/s: Custom Fields
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Blocker
 
Duplicate
 
Part
 
Reference

Participants: Mark Chaimungkalanont [Atlassian], Mike Brevoort, Nick Menere [Atlassian], Tim Colson and Tim Dawson
Since last comment: 2 years, 3 weeks, 5 days ago
Support reference count: 3
Labels:


 Description  « Hide
Current Custom Fields do not allow CF to be individually configured. For example, one might want a User Picker custom field to be limited to users of a particular group.

You should be able to pass in parameters to configure the custom field when you set it up initially.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Tim Dawson added a comment - 20/Jan/05 07:57 AM
when custom fields can be configured, the attached code could be quickly/easily modified to provide this information

Tim Dawson added a comment - 20/Jan/05 07:59 AM
when JRA-4704 is fixed, the attached code can be easily modified to provide the necessary functionality for this issue

Mark Chaimungkalanont [Atlassian] added a comment - 08/Feb/05 02:20 AM
Thanks for that. Will certainly be looking into this when we allow for configurable custom fields

Mike Brevoort added a comment - 13/Jan/06 08:46 AM
This is one undeveloped feature that stands in the way of taking custom fields types to the next level, otherwise the field config need to be hardcorded and a type created for every instance or the fields remain fairly dumb.

I'd like to be able to do things like configure a URL to a web service to retrieve a list of options for the field or us the configuration to tie mutiple custom fields together.

For example:
I have a simple custom field for subtasks that displays a read only copy of a field in the parent issue. When the new custom field is instantiated I need to set which field in the parent to map to. So I'd like to be able to either pick a drop down of existing custom fields or simply provide a textbox where the name of the field to map to would be typed when the Custom Field is created.


Nick Menere [Atlassian] added a comment - 15/Jan/06 07:14 PM
Thanks for the comments Mike.

We definitely want to implement this but we have already committed ourselves for features for 3.5 and 3.6 (so it wont be beofre then).
It will be useful thing to have.
At the moment, you can specify params in the xml descriptors that your plugin can read. I know this isn't nearly as flexible as to what you need but it is still better than hard-coding them.

Another custom-fields that is a good example of this is a User Field that that is restricted to a selected Group

Cheers,
Nick


Tim Colson added a comment - 25/Jul/06 02:24 PM
I would like to create a field that can calculate it's value from other fields.

For example, I might have a "Security Risk Assessment" value that is calculated as a weighted average from fields for "Sensitivity Level of Data", "Internal or External Data", "Value of the data".

Perhaps this wouldn't be a "Configurable" field per se, maybe it would be a custom field type – not sure if this is something I could build.


Tim Colson added a comment - 25/Jul/06 02:33 PM
Doh... a bit more research and I found the CalculatedCFType for custom field dev...
http://www.atlassian.com/software/jira/docs/api/latest/com/atlassian/jira/issue/customfields/impl/CalculatedCFType.html

So I guess my suggestion might be that it would cool if there was some configurable customization that could enable end users to quickly and easily leverage other field values.


Mike Brevoort added a comment - 25/Jul/06 02:34 PM
Tim, this should be fairly straight forward to do as a calculated custom
field type. You would need to create a new custom field type. Check
out the Last Commented user custom field type here as a place to start:
http://confluence.atlassian.com/display/JIRA/How+to+create+a+new+Custom+
Field+Type