Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

allow user to add and delete values from a multiselect field displayed through a .vm file

Umair Haroon
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 20, 2014

Hi, I would like to allow a user to add and delete values from a custom field that will be displayed to the user (through a .vm file). User will be taken to this page (.vm file) when he clicks on a webwork action link. So basically the idea is that the user can do this all on one page(view it and add/remove entries).

One way to do this is to use RestFul table. However, that is quite complicated and is experimental api according to atlassian.

Can anyone suggest a simpler and quick way.

Would really appreciate any link to tutorial or sample code as well.

Thanks!

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Dmitry_Zharikhin May 20, 2014

Hi, look at this question

0 votes
Joe Pitt
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 20, 2014

I can't see any way it isn't going to be messy. To start with JIRA fields are designed for everyone to see the same thing. Are you going to try and maintain a custom list by user? If not, what if Charlie deletes a value Sue needs? If you do a per user list, you'll have to modify the code everywhere that field is presented to include the logic to get the user name. And what about fields that have different configurations by project or issue type. Now you're keeping track of the user, issue type, and project. Even if you don't have them configured that way today you need to build the logic in because when someone asks for an issue or project specific list your code will break. And when you upgrade JIRA they may change the underlying code so your modification won't just plug back in.

TAGS
AUG Leaders

Atlassian Community Events