Code Monkey home page Code Monkey logo

Comments (4)

princenyeche avatar princenyeche commented on September 28, 2024

The field_name argument targets a specific field that you want to be included in the export only. It is a sort of filtering of the export data. The first thing you need to know is that it takes the data from the change history, so if the summary changes are not in the history then you won't see any data. The naming conversion should follow how the field is named on your Jira UI.

from jiraone import LOGIN, PROJECT

user = "emailaddress"
password = "token"
link = "https://yourinstance.atlassian.net"
LOGIN(user=user, password=password, url=link)

if __name__ == '__main__':
    # the output of the file would be absolute to the directory where this python file is being executed from
    jql = "project in (PYT) ORDER BY Rank DESC"  # A valid JQL query
    field = "Summary"
    PROJECT.change_log(jql=jql, field_name=field)

from jiraone.

manojs888 avatar manojs888 commented on September 28, 2024

from jiraone.

princenyeche avatar princenyeche commented on September 28, 2024

Yes, that's the whole logic. The field_name in itself adds filtering to the data if not, all the data history is exported. So if you want a historical data field to appear only in the export then use the field_name argument. If not, don't use it. Your example of use cases 1 and 2 is exactly how it works.

from jiraone.

manojs888 avatar manojs888 commented on September 28, 2024

from jiraone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.