Hi,
I am trying to retrieve all custom field ids, names, field types, associated project names, associated issue types but not from the environment but from the database.
ok so in customfield table in the tables provided by jira, ID, name I can understand but for project & issuetype names and field types are giving "?" value as the SQL result
Can you help?
Welcome to the Atlassian Community!
First obvious question is "why?"
Also, you've tagged this with Cloud, where you have no access to the database, so I'm going to assume you mean "Server" instead.
The field values you are seeing as "?" are either coming out because your SQL tool can't display the width of their data, can't read the encoding, or its binary.
Your best bet is to not read the database.
Even if you can get it to work, you do realise you could be getting hundreds of thousands of lines to analyse?
To determine if a field is associated with a project, you'll need to look at customfield, all the screens (and how they are associated with a project), the field configurations (and where they are associated with a project), and the field contexts. You're making months of work for yourself here.
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.