I am writing a custom SQL Query for reporting and I am trying to pull data for Team custom field, but cannot find a value in the jiraissue table.
The customfieldvalue table is empty for customfield-20081 as well.
Team Custom field ID: 20081 (this is not relevant though)
Team Data Table :AO_82B313_TEAM
select * from customfieldvalue where issue=(select id from jiraissue where issuenum=4684 and project=(select id from project where pkey='XYZ')) and customfield = 20081;
>>Empty Set
Is there a way to pull all issues for a specific project from the database where Portfolio (P4J) Team field value is not empty?
Hi, the Portfolio custom field data is stored in entity_property table as JSON value.
thanks Buu Le.
Following query works
select json_value from entity_property join jiraissue on entity_property.ENTITY_ID = jiraissue.id where entity_name = "IssueProperty" and jiraissue.project = 12345;
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.