Do we dynamically change the customfield values in create and edit screens based on user?

Hi,

I have a requirement that a customfield show only some options to a paticular user.

Suppose my customfield is of type "Multi Checkboxes" and its name is TEMP

it has options as

External

Internal

Other

Now, I should able to show only "External" and "Other" under TEMP for user1 in both Create and Edit screens.

only Internal to user2 in both Create and Edit screens.

Thanks,

Bharadwaj Jannu

1 answer

1 accepted

This widget could not be displayed.

Nope, can't do it natively, you need some code, javascript etc.

There's a more advanced conversation from earlier today that you might want to look at - https://answers.atlassian.com/questions/199057/is-it-possible-to-show-few-issue-types-and-category-and-subcategory-to-particular-group-in-jira-5-0-2

Oh, yes, absolutely.

If you create your own custom field type, you can pretty much do what you want with it. This also has the advantage that it does the security work before data goes to the browser, so there's no leaking of potentially sensitive data, probably no need for any javascript, and no way to bypass it.

Thanks for quick reply Nic,

Is it possible to extend the exising custom field type and place restrictions inside the code?

Thanks,

Bharadwaj Jannu

Please suggest help docs related to the requirement.

Thanks in advance,

Bharadwaj Jannu

Thanks Nic for the helper documents.

I got the solution by simply changing the edit-multicheckboxes.vm

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

81 views 1 0
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you