Hi,
I need to parametrize table names of several queries in order to get different set of data for different projects. Otherwise I need to define a customfield for each project separately for the same query.
I tried both "select .. from yte_test_{project}_table" and defining a custom field that returns project key and use that cf "select .. from yte_test_{customfield_17478}_table" both failed with error " yte_test_$1_table" does not exists. So I conculude that parametrizing table name is not possible at the moment, If so is there a plan to support this kind of query or else there is a way so how can achive this without duplicating the cf.
-thank you very much
-yusuf
thank you very much Alexey, I really don't know how I missed this point, adding project_key column and project_key={project} condition to the query did the trick.
-thank you very much
-yusuf
I think you need to reconsider the structure of your database. You can have one table and save data for all projects there. You can have a column in the table, where you would save a project name, and you could filter on the column later.
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.