Skip to content

Issue with Retrieving Full Project History Using Jiraone REST API #134

@aamiryousuf

Description

@aamiryousuf

Hello,

I am currently utilizing the Jiraone REST API for extracting project history, which has been incredibly useful. However, I'm encountering a limitation with projects that contain extensive data. Specifically, I'm only able to retrieve history data up until last year, and not all details are being pulled.

Below is the Python script I'm using. I'm exploring whether there's a way to fetch the complete history, or, if data volume is an issue, to selectively specify certain fields within the history to retrieve all relevant changes. Alternatively, could I implement a date range to segment the output into manageable chunks? Another possibility I'm considering is whether there's an alternative to using PROJECT.change_log for this purpose.

I appreciate any guidance you can provide, as I'm relatively new to both Jira and Python.

from jiraone import LOGIN, PROJECT

# User credentials and Jira instance URL
user = "my_email"
password = "my_Token"
link = "My_DC_URL"

# Log into the Jira instance
LOGIN.api = False
LOGIN(user=user, password=password, url=link)

# Main execution
if __name__ == '__main__':
    # the output of the file would be relative to the directory where this python file is executed
    jql = "issuekey in (ID-54145)"  # A valid JQL query
    PROJECT.change_log(jql=jql)

Thanks for your assistance,

Aamir

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions