Forums

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

Jira + Python : Fetch all the issues updated with in 7 days of a user.

Sunesh M S September 10, 2018

Hi All,

 

The below line of code will list out all the issue assigned to a user.

Note: Using JIRA library & Python.

for Issue in jira.search_issues('project=XXX and assignee='+ Assignee +
' and status not in ("Discarded") ORDER BY issuekey, issuetype, status'):

 I have added the below condition, but thats not worked.

 and updated < startOfWeek(-1W)

Could you please help me to retrieve all the issues updated with in 7 days of a user.

 

Thanks in Advance,

Maadi.

1 answer

1 accepted

2 votes
Answer accepted
Alexey Matveev
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.
September 10, 2018

Hello,

You would need to pass a JQL like this

updated > -7d

Sunesh M S September 10, 2018

@Alexey Matveev Thanks man.

[Solved]

Alexey Matveev
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.
September 10, 2018

You are welcome!

Suggest an answer

Log in or Sign up to answer