I am trying to use nfeed field to pull information to populate a field called as comments that changes based on the current transition ticket. I would like my sql query to access the issue id to know the current transition state, Is there a way to access issue id in sql query?
Is this what you are looking for?
select i.id,
p.pkey||'-' ||i.issuenum as jira_id,
it.pname issue_type,
s.pname last_status,
i.summary summary
from jirasd.jiraissue i,
jirasd.project p,
jirasd.issuetype it,
jirasd.issuestatus s
where p.id = i.project
and it.id = i.issuetype
and i.issuestatus = s.id
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.