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.
At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.
Read the story
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.