How to set a custom field to certain value, and read only, depending on reporter?
can you please provide a script?
If we have support for the custom field, you can use JJUPIN LiveFields feature.
Setting a field to a value is easy if you have the script-runner addon (or you can write your own functions to provide it). You can bring in "value depends on reporter" there as well.
However. JIRA does not do field level security. You can't make a field read-only for some users and read/write for others, without either doing it in the workflow or installing the "field security" add on.
I'm not sure that I have understood your requirement though - I suspect that what you might be looking for is a field that is always read-only, but shows a value that depends on the reporter? If that is the case, then, again, the script-runner is your friend - you can create a scripted field to do exactly that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The read-only function can be done through the behavior plugin, but I want to know what the script (to set value of field accoridng to reporter) is and how i can implement it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you help me writing the script? given that, the reporter is from group "Submitters" and the field "Source" should be automatically set to the value "Site" when this reporter is creating an issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.