Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

IS there a way to access issue id in sql query

Surya Sonal Saripalli July 16, 2018

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?

1 answer

0 votes
Mesut Yilmazyildirim
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 16, 2018

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
Surya Sonal Saripalli August 31, 2018

thank you

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events