表jiraissue(问题表)
KEY |
||||
ID |
decimal(18,0) |
NO |
PRI |
|
varchar(255) |
YES |
MUL |
||
PROJECT |
decimal(18,0) |
YES |
MUL |
|
REPORTER |
varchar(255) |
YES |
报告人 |
|
ASSIGNEE |
varchar(255) |
YES |
MUL |
|
varchar(255) |
YES |
|||
SUMMARY |
YES |
标题/概要 |
||
DESCRIPTION |
YES |
|||
ENVIRONMENT |
YES |
|||
PRIORITY |
YES |
|||
RESOLUTION |
YES |
|||
YES |
问题状态 |
|||
CREATED |
YES |
|||
UPDATED |
YES |
|||
DUEDATE |
YES |
|||
RESOLUTIONDATE |
YES |
|||
VOTES |
decimal(18,0) |
YES |
投票数 |
|
WATCHES |
decimal(18,0) |
YES |
监测数 |
|
TIMEORIGINALESTIMATE |
YES |
|||
TIMEESTIMATE |
YES |
|||
TIMESPENT |
YES |
|||
WORKFLOW_ID |
YES |
MUL |
||
SECURITY |
YES |
|||
FIXFOR |
YES |
|||
COMPONENT |
YES |
表project(项目表,目前一个部门是一条记录)
表projectversion(项目版本表)
表component(项目模块表,目前存储的是项目记录)
表nodeassociation(项目版本/项目模块和问题关联)
select * from projectversion where id in ( select SINK_NODE_ID from nodeassociation where ASSOCIATION_TYPE=’IssueVersion‘ and SOURCE_NODE_ID=( select id from jiraissue where pkey=’JRA-5351′) ); |
select * from projectversion where id in ( select SINK_NODE_ID from nodeassociation where ASSOCIATION_TYPE='IssueFixVersion' and SOURCE_NODE_ID=( select id from jiraissue where pkey='JRA-5351') ); |
3. 查询某个issue所在的项目模块
select * from component where id in ( select SINK_NODE_ID from nodeassociation where ASSOCIATION_TYPE='IssueComponent' and SOURCE_NODE_ID=( select id from jiraissue where pkey='JRA-5351') ); |
表issuetype(问题类型表)
表priority(问题优先级/严重程度表)
ID |
|
1 |
Block |
2 |
|
3 |
Major |
4 |
Minor |
5 |
Trivial |
表resolution(解决方案)
ID |
pname |
1 |
Fixed |
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
表issuestatus(问题状态表)
ID |
pname |
1 |
Open |
3 |
|
4 |
Reopened |
5 |
|
6 |
|
10000 |
|
10001 |
W4T |
10002 |
|
10003 |
已新建 |
10004 |
已打开 |
10005 |
已推迟 |
10006 |
已指派 |
10007 |
已解决 |
10008 |
已重开 |
10009 |
已关闭 |
10013 |
已完成任务 |
10015 |
|
10016 |
Done |
原文地址:https://blog.csdn.net/LG_15011399296/article/details/134672107
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若转载,请注明出处:http://www.7code.cn/show_29716.html
如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱:suwngjj01@126.com进行投诉反馈,一经查实,立即删除!