In CUSTOMFIELD table I have two fields which are relatable with satisfaction rating.
First it is SATISFACTION field (in my version of database: id = 11102), second it is SATISFACTION DATE field (id = 11103).
In CUSTOMFIELDVALUE table, value of SATISFACTION field is in STRINGVALUE column, value of SATISFACTION DATE field is in DATEVALUE column.
cfv.stringvalue as "star",
join jiraissue ji on cfv.issue = ji.id
join project p on ji.project = p.id
join customfieldvalue cfv2 on ji.id = cfv2.issue and cfv2.customfield = 11103
cfv.customfield = 11102
Hi, @Anita Dzik - this actually works for me! Thank you!
I replaced your customfield ID using the following and I was able to get the STAR rating.
I then got the Customer feedback/comment part using the below SQL:
join jiraissue i
on (i.id = ep.entity_id)
join project p
on (i.project = p.id)
ep.property_key = 'service-request-feedback-comment'
Joined the tables together and was able to re-create the data displayed in the Satisfaction report.
Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...
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