Where is field Request-channel-type in database? Edited

I'm trying to find the "request-channel-type" field in the database (SQLSERVER) and I can not find it.

Could someone tell me in which table can I find this information?

image.png

1 answer

1 vote

Hi Dante,

There is a Suggestion that you can find at JSDSERVER-1247 that has a query that should help you find what you're looking for:

In JIRA Service Desk, it is possible to view through which channel an issue was created:

SELECT DISTINCT p.pkey, ep.json_value, COUNT(ep.json_value) FROM entity_property ep
 JOIN jiraissue ji ON ep.entity_id = ji.id
 JOIN project p ON p.id = ji.project
WHERE ep.property_key = 'request.channel.type'
GROUP BY ep.json_value, p.id;

We normally test in Postgres so you will most likely need to modify the query for MSSQL, however, that should provide you a great starting point!

Cheers,

Branden

Hello Branden,

We have some issues (imported from Excel files) with "Channel: Unknown". In the database table entity_property there are no entries with PROPERTY_KEY = 'request.channel.type' for those issues.

Would you recommend to add them manually to the database table? I tried to add it for one issue and it seemed to work, but I didn't want to add all the entries before I am sure nothing will break.

By the way, we have to set the channel somehow because otherwise the requests are not shown in the Customer Portal (at least we think this is the reason, because the request type and everything else is set correctly).

Thanks in advance.

Kind regards,
Sabina

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked Feb 02, 2018 in Jira Service Desk

What are the must-have addons?

Hi all, We are trialing Jira Service Desk for a large-ish, flat, team-based organization where members can serve on multiple teams. A few needs that are not out of the box... Assigning i...

981 views 12 5
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you