I go through the jira 4.3.3 database (jira433) but i can't find the place where the project category is stored. Can help me to find the place category of a particular project is stored.
I am assuming you really mean categories verses components. There are three tables involved.
project, projectcategory and nodeassociation
nodeassociation.sink_node_entity='ProjectCategory'nodeassociation.source_node_id = project.idnodeassociation.sink_node_id=projectcategory.id
But when i run
select SINK_NODE_ID from nodeassociation where SOURCE_NODE_ID =11254;
query in sql it gives
+--------------+
| SINK_NODE_ID |
| 10032 |
| 10043 |
| 10000 |
| 10002 |
| 10050 |
| 10074 |
| 10085 |
But for one project there should be one category but it gives this result why is that
The nodeassociation table contains more than just project category relationships, so you got all the associations for that id number. You need to restrict more with the sink_node_entity or at least display that field as well or you have the wrong project number.
select SINK_NODE_ID from nodeassociation where SOURCE_NODE_ID =11254and nodeassociation.sink_node_entity='ProjectCategory'
It looks like you're new here. Sign in or register to get started.