Hi
I'm migrating a Cloud JSD to a hosted server.
I'm using a staging server to import the cloud project, clean up some user values and then export/import to our target server. The staging system has all the Organization values intact.
When i import into the target I get the message
Unable to import custom field 'Organizations'. The custom field type does not support project imports.
In order to expedite this I intend to proceed and rebuild our Organisation data over a few days after importing.
My actual question is where in the database are the organisation values stored?
I can see numeric values but not text values
SELECT jiraissue.id, jiraissue.pkey, issuenum, jiraissue.project, pname, project.pkey, cf.cfname, cv.numbervalue
FROM jiraissue, project, customfieldvalue cv, customfield cf
WHERE jiraissue.project = project.id
AND project.pkey = 'CSD'
AND cv.issue = jiraissue.id
and cv.customfield = cf.id
and cv.customfield = 10004
Looks like they're in active object tables
AO_54307E_ORGANIZATION
FYI
This is what I needed to know...
To get Organisation names
SELECT"DOMAIN","ID","LOWER_NAME","NAME","SEARCH_NAME"FROM"AO_54307E_ORGANIZATION";
To get Organisation Issue values
SELECTconcat(project.pkey ,'-',issuenum )askey,"AO_54307E_ORGANIZATION"."NAME", pname, cf.cfname, cv.numbervalueFROMjiraissue, project, customfieldvalue cv, customfield cf,"AO_54307E_ORGANIZATION"WHEREjiraissue.project = project.idANDproject.pkey ='CSD'ANDcv.issue = jiraissue.idAND"AO_54307E_ORGANIZATION"."ID"= cv.numbervalueandcv.customfield = cf.idandcv.customfield = 10004
To get Organisation members
SELECT"DEFAULT_ORGANIZATION","AO_54307E_ORGANIZATION_MEMBER"."ID","ORGANIZATION_ID","USER_KEY","AO_54307E_ORGANIZATION"."NAME"FROM"AO_54307E_ORGANIZATION_MEMBER","AO_54307E_ORGANIZATION"WHERE"AO_54307E_ORGANIZATION_MEMBER"."ORGANIZATION_ID"="AO_54307E_ORGANIZATION"."ID"
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.