Need your help, i am trying to get list of Custom fields using SQL query using Script runner resources . in Our JIRA Dev environement it's working fine while in PROD Environment it's giving an error invalid object name 'customfield'. Kindly suggest..why prod is not reading tables or table in missing from prod database.
You'd be far better off using the API to get a list of fields, it's far easier to work with the fields directly in a script than have to look them up every time you want to get one from a name.
But to answer the question - you are connecting to the wrong database in prod, or it's of a type that is case-sensitive and the column is called CUSTOMFIELD or Customfield or something where the case matters.
Hi @Nic Brough _Adaptavist_ actually my main aim is to get empty custom fields. I am getting data from Dev but from prod getting error .
is there any way to get empty custom fields via REST API .
I need empty field for cleanup purpose . We have 5000+ fields in our single instance.
let me try to change customfield to CUSTOMFIELD.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events