Hi,
We have a select customfield that populates itselft with different options everytime a user changes a predetermined customfield. We do this with a scriptlistener with scriptrunner.
We are now experiencing that differents users that make that action at the same time, their options are mixing, for a user A is showing the options of user B and viceversa. We understand that is because it's the same customfield. We want this options to be different for every user and project.
We are thinking about making different contexts. Has anyone done something similiar to this? It is possible to create a context with a script? It is recomendable? Is there other possible options?
Regards,
-Patricia
Field option lists are held in contexts, and those contexts apply by project and/or issue type. They don't change by user.
The best I can suggest here is:
Have a single context, with all the possible options in it, and then use Behaviours to remove options from the list depending on the active user. This does make for a messy script (you'll need to have lots of if's and you'll want to be editing it every time any user changes status (starts, leaves, moves role, etc)
But what I really want to ask is "why?" What leads you to want to have different lists of options in the same field depending on the user? Would it not be easier to have several fields and ask your people to only fill in or amend the fields that are theirs?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.