This project is a fastlane plugin. To get started with
fastlane-plugin-jira_issue_details, add it to your project by running:
fastlane add_plugin jira_issue_details
About This Plugin
Get the details for the given jira issue key.
It utilises the jira-ruby gem to communicate with Jira and get the details of the Jira issue for the given key. If the key does not exists, it will just return
(Currently only supports basic
Get the jira issue by passing the
issue_key parameters. You can later get the details that you need by accessing the string keys. The reference to all the keys can be found here, just scroll to the
Do note that all parameters are required, otherwise the action will return
Passing a single jira
In return, you'll get a single hash, or
nilif the issue for the given key was not found.
issue = get_jira_issue( username: 'firstname.lastname@example.org', api_token: 'yourapitoken', site: 'https://your-domain.atlassian.net', issue_key: 'TKT-123' ) summary = issue['fields']['summary'] puts summary #=> Short summary for the ticket id TKT-123
Passing multiple jira
issue_keys (Do note that you should only separate the keys using a single space
In return, you'll get a hash of
key-nilpair if the issue was not found.
issue = get_jira_issue( username: 'email@example.com', api_token: 'yourapitoken', site: 'https://your-domain.atlassian.net', issue_key: 'TKT-123 TKT-456' ) summary = issue['TKT-123']['fields']['summary'] puts summary #=> Short summary for the ticket id: TKT-123 # assuming TKT-456 doesn't exist summary = issue['TKT-456'] puts summary #=> nil
Check out the example
Fastfile to see how to use this plugin. Try it by cloning the repo, running
fastlane install_plugins and
bundle exec fastlane test.
Issues and Feedback
For any other issues and feedback about this plugin, please submit it to this repository.
If you have trouble using plugins, check out the Plugins Troubleshooting guide.
For more information about how the
fastlane plugin system works, check out the Plugins documentation.
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.