Hi @shivani shirguppi
Currently it is not possible to do with Jira Cloud. Doctor Pro for jira is an app on the marketplace that is allowing you to migrate from single select list to multiselect list, single user picker to multiuser picker etc.
It takes care of screens, filters, context etc.
Cheers,
Hubert
unfortunately you cannot change the type of a custom field; you'll have to create a new custom field, transfer over the values from the old custom field, and then delete the old custom field.
For copying the values over, I've seen people use Automation rules for this, or do a CSV export, make changes to the CSV file, and re-import it.
Alternatively, if you're open to solutions from the Atlassian Marketplace, you'll have more options. I'll provide more information below.
Hope this helps,
Best,
Hannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
... and to expand on my last point: If you're open to solutions from the Atlassian Marketplace, this would be easy to do with the app that my team and I are working on, JXL for Jira.
JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you'd do in e.g. Google Sheets or Excel. You can also bulk edit your fields, using copy/paste. This makes it very easy to copy values from one column (i.e., field) to another column/field.
This is how it looks in action:
You only need to make sure that the values fit the new field. If that's not already the case, you can e.g. copy your values to Excel, manipulate them there, and then copy them back to JXL.
I should also add that JXL can do much more than the above: From support for configurable issue hierarchies, to issue grouping by any issue field(s), sum-ups, or conditional formatting.
Any questions just let me know!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @shivani shirguppi ,
As per my knowledge, you can't change custom field type in jira cloud. you have to create new field with the required type .
more details :
You can't change the field's type (for example, making a single-select field into a multi-select field). To change a field's type, recreate the field using the desired type.
https://support.atlassian.com/jira-cloud-administration/docs/edit-or-delete-a-custom-field/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @shivani shirguppi
Could you pls try this script
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.MutableIssue
import com.atlassian.jira.issue.fields.CustomField
import com.atlassian.jira.issue.util.DefaultIssueChangeHolder
def customFieldManager = ComponentAccessor.getCustomFieldManager()
def issueManager = ComponentAccessor.getIssueManager()
// Replace with your custom field IDs
def singleSelectField = customFieldManager.getCustomFieldObjectByName("Single Select Field Name")
def multiSelectField = customFieldManager.getCustomFieldObjectByName("New Multi-Select Field Name")
def issues = ComponentAccessor.getIssueManager().getIssueObjects(issueManager.getIssueIdsForProject(ComponentAccessor.getProjectManager().getProjectObjByKey("PROJECTKEY").id))
issues.each { issue ->
def singleSelectValue = issue.getCustomFieldValue(singleSelectField)
if (singleSelectValue) {
def multiSelectValues = [singleSelectValue] // Create a list with the single select value
issue.setCustomFieldValue(multiSelectField, multiSelectValues)
issue.store() // Save the changes
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raju, how do I use that script?
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.