Is it possible to query a list of all issues and the watchers of each issue within a project?
Hello,
It would be like this:
SELECT * FROM jiraissue i, userassociation a, project p
WHERE ASSOCIATION_TYPE = 'WatchIssue'
and i.ID = a.SINK_NODE_ID
and i.project = p.id
and p.pley = 'youkey'
I am getting:
Msg 207, Level 16, State 1, Line 6
Invalid column name 'pley'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SELECT * FROM jiraissue i, userassociation a, project p
WHERE ASSOCIATION_TYPE = 'WatchIssue'
and i.ID = a.SINK_NODE_ID
and i.project = p.id
and p.pkey = 'youkey'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SELECT
u.lower_username, concat(
p.pkey,
'-'
,issuenum
)
FROM
jiraissue i, userassociation a, app_user u, project p
where
association_type=
'WatchIssue'
and
i.id=sink_node_id
and
i.project=p.id
and
a.source_name=u.user_key
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This query was perfect for what I need... you just need to change u.lower_username to u.lower_user_name. Thanks! =)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.