Forums

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

How to get last month issues

upendra vemula
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 1, 2018

I want to have filter to get last month issues, i mean, now we are in May, I wan to get the issues which captured in Apr, Do you have function like Created = LastMonth() ? 

1 answer

0 votes
BRAgnar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 10, 2017

Hi, Qentin.
Note that organizations do not contain issues, they contain customers. As so you will have to look for the relationship between the tables to check what members are part of an organization and then find the issues created by these customers. It would be something like this (Postgres syntax):

 

select o."NAME", concat(pro.pkey,'-',ji.issuenum) from "AO_54307E_ORGANIZATION" o
join "AO_54307E_ORGANIZATION_MEMBER" om on om."ORGANIZATION_ID" = o."ID"
join jiraissue ji on ji.reporter = om."USER_KEY"
join project pro on pro.id = ji.project
where o."NAME" = 'Organization name';

Suggest an answer

Log in or Sign up to answer