Hello,
What do you mean by "project specific single select"? If you want to have different options for different projects, then you should create a field context for this project. You can find more info here:
Go to the Context part.
Project-specific is one of the custom field type. I am trying to change existing single select custom field type to this field type without creating new field. Is there any way to do this by script runner or any other options
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this field type from a plugin? Anyway, you should create a new field and then copy all data from the old field to the new one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If we are creating new field and moving the data to new field means do we have any script or any option to copy the data from old field to new field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no way to do it via UI. The best way to use Jira API to copy values from the old field to the new one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You would need an add-on for it. For example, Power Scripts add-on:
You could write a script like this:
string jql;
jql =
"project = ProjectKey"
;
string[] issues = selectIssues(jql); for(string iss in issues) {
%iss%.customfield_10101 = %iss%.customfield_10102; }
10101 is the id of the new field and 10102 is the id of the old field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The exact scenario which am looking for.
But, I also got the same response that we can't change the existing custom field type to project specific type.
Not sure. Why. Supposing we don't have possibility to do so in UI without creating new filed. Even in DB also not possible.
Can anyone please confirm or suggest some idea why we can't do with that.?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.