Szczegóły ebooka

JIRA 5.x Development Cookbook. This book is your one-stop resource for mastering JIRA extensions and customizations

JIRA 5.x Development Cookbook. This book is your one-stop resource for mastering JIRA extensions and customizations

Jobin Kuruvilla, Jobin Kuruvilla

Ebook
JIRA provides issue tracking and project tracking for software development teams to improve code quality and the speed of development.

JIRA 5.x Development Cookbook is a one stop resource to master extensions and customizations in JIRA. You will learn how to create your own JIRA plugins, customize the look and feel of your JIRA UI, work with workflows, issues, custom fields, and much more.

JIRA 5.x Development Cookbook starts with recipes on simplifying the plugin development process followed by a complete chapter dedicated to the plugin framework to master plugins in JIRA.

Then we will move on to writing custom field plugins to create new field types or custom searchers. We then learn how to program and customize workflows to transform JIRA into a user friendly system.

Reporting support in an application like JIRA is inevitable! With so much data spanning across different projects, issues, and so on, and a lot of planning done for the project, we will cover how to work on reports and gadgets to get customized data according to our needs.

We will then look at customizing the various searching aspects of JIRA such as JQL, searching in plugins, managing filters, and so on.

JIRA 5.x Development Cookbook steers towards programming issues, such as creating, editing, and deleting issues, creating new issue operations, managing the various other operations available on issues via the JIRA APIs, and so on.

In the latter half of JIRA 5.x Development Cookbook, you will learn how to customize JIRA by adding new tabs, menus, and web items, communicate with JIRA via the REST, SOAP or XML/RPC interfaces, and work with the JIRA database.

The book ends with a chapter on useful and general JIRA recipes.
  • JIRA 5.x Development Cookbook
    • Table of Contents
    • JIRA 5.x Development Cookbook
    • Credits
    • About the Author
    • Acknowledgement
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
        • Instant Updates on New Packt Books
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Plugin Development Process
      • Introduction
        • What is a JIRA plugin?
          • The plugin development process
            • Atlassian Marketplace
            • Troubleshooting
      • Setting up the development environment
        • Getting ready
        • How to do it
        • Theres more
          • Proxy settings for Maven
          • Using local Maven
          • Configuring IDEs to use the SDK
          • Troubleshooting
        • See also
      • Creating a skeleton plugin
        • Getting ready
        • How to do it
        • How it works
        • There's more
          • One step to your skeleton plugin
          • Creating an Eclipse project
        • See also
      • Adding plugin modules
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Deploying a JIRA plugin
        • Getting ready
        • How to do it
        • How it works
        • There's more
          • Using a specific version of JIRA
          • Re-using the configurations in each run
          • Troubleshooting
      • Making changes to and redeploying a plugin
        • How to do it
        • There's more
          • Debugging in Eclipse
        • See also
      • Using FastDev for plugin development
        • Getting ready
        • How to do it
        • How it works...
        • There's more
          • Adding ignored files
          • Changing admin credentials
        • See also
      • Testing and debugging
        • Getting ready
        • How to do it...
        • How it works
        • There's more
          • Using custom data for integration/functional tests
          • Testing against different versions of JIRA/Tomcat
        • See also
    • 2. Understanding the Plugin Framework
      • Introduction
        • JIRA architecture
          • Third-party components
            • Webwork
            • Seraph
            • OSUser
            • Embedded Crowd
            • PropertySet
            • Active Objects
            • OSWorkflow
            • OFBiz Entity Engine
            • Apache Lucene
            • Atlassian Gadget JavaScript Framework
            • Quartz
      • Architecture explained
        • Authentication and user management
        • Property management
        • Presentation
        • Database
        • Workflows
        • Searching
        • Scheduled jobs
        • Plugins
      • Types of plugin modules
        • Reporting
        • Workflows
        • Custom fields
        • Searching
        • Links and tabs
        • Remote invocation
        • Actions and components
        • Other plugin modules
        • What goes into atlassian-plugin.xml?
      • Working with the Plugins1 and Plugins2 versions
      • JIRA system plugins
      • Stable and core APIs
      • Modifying Atlassian bundled plugins
        • How to do it
        • How it works
        • See also
      • Converting plugins from v1 to v2
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Adding resources into plugins
        • Getting ready
        • How to do it
      • Adding web resources into plugins
        • How to do it
        • How it works
        • There's more...
          • Web resource contexts
          • Turning off batch mode
        • See also
      • Building JIRA from source
        • Getting ready
        • How to do it
        • How it works
        • There's more
          • Building JIRA dependencies
        • See also
      • Adding new webwork actions to JIRA
        • Getting ready
        • How to do it
        • How it works
        • There's more
          • Adding new commands to the action
        • See also
      • Extending a webwork action in JIRA
        • How to do it
        • How it works
        • See also
      • Capturing plugin installation/uninstallation events
        • How to do it
        • How it works
        • See also
    • 3. Working with Custom Fields
      • Introduction
      • Writing a simple custom field
        • Getting ready
        • How to do it...
        • How it works
        • There's more
        • See also
      • Custom field searchers
        • Getting ready
        • How to do it
        • How it works
        • There's more
      • Dealing with custom fields on an issue
        • Getting ready
        • How to do it
        • How it works
      • Programming custom field options
        • Getting ready
        • How to do it
        • See also
      • Overriding validation of custom fields
        • Getting ready
        • How to do it
        • See also
      • Customizing the change log value
        • Getting ready
        • How to do it
        • How it works
      • Migrating from one custom field type to another
        • How to do it
        • How it works
        • There's more
          • Changing the type of a custom field
        • See also
      • Making custom fields sortable
        • Getting ready
        • How to do it
        • How it works
        • There's more
        • See also
      • Displaying custom fields on subtask columns
        • How to do it
        • How it works
      • User and date fields
        • How to do it
        • How it works
        • See also
      • Adding custom fields to notification mails
        • Getting ready
        • How to do it
        • How it works
      • Adding help text for a custom field
        • Getting ready
        • How to do it...
        • How it works
      • Removing the "none" option from a select field
        • How to do it
        • There's more
          • Reloading Velocity changes without restart (auto-reloading)
        • See also
      • Making the custom field project importable
        • How to do it
        • See also
      • Changing the size of a text area custom field
        • How to do it
        • See also
    • 4. Programming Workflows
      • Introduction
      • Writing a workflow condition
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Writing a workflow validator
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Writing a workflow post function
        • Getting ready
        • How to do it...
        • How it works
        • See also
      • Editing an active workflow
        • How to do it
        • How it works
        • There's more
          • Modifying workflows in the JIRA database
      • Making an issue editable/non-editable based on workflow status
        • How to do it
        • How it works
        • See also
      • Including/excluding resolutions for specific transitions
        • How to do it
        • How it works
      • Permissions based on workflow status
        • How to do it
        • How it works
        • See also
      • Internationalization in workflow transitions
        • How to do it
        • How it works
      • Obtaining available workflow actions programmatically
        • How to do it
        • How it works
        • There's more...
          • Getting the action IDs, given the name
      • Programmatically progressing on workflows
        • How to do it...
        • How it works
      • Obtaining workflow history from the database
        • Getting ready
        • How to do it...
        • How it works
        • See also
      • Reordering workflow actions in JIRA
        • How to do it...
        • How it works
      • Creating common transitions in workflows
        • How to do it
        • How it works
      • Creating global transitions in workflows
        • How to do it
        • How it works
      • Jelly escalation
        • Getting ready
        • How to do it
        • How it works
    • 5. Gadgets and Reporting in JIRA
      • Introduction
      • Writing a JIRA report
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Reports in an Excel format
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Data validation in JIRA reports
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Restricting access to reports
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Object-configurable parameters for reports
        • How to do it...
        • How it works...
        • See also
      • Creating a pie chart in JIRA
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Writing JIRA 4 gadgets
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Invoking REST services from gadgets
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Configuring user preferences in gadgets
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Accessing gadgets outside of JIRA
        • How to do it...
        • How it works...
        • See also
    • 6. The Power of JIRA Searching
      • Introduction
      • Writing a JQL function
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Sanitizing JQL functions
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Adding a search request view
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Smart querying using quick search
        • How to do it
        • There's more
      • Searching in plugins
        • How to do it
        • There's more
        • See also
      • Parsing JQL queries in plugins
        • How to do it
        • How it works
        • See also
      • Linking directly to search queries
        • How to do it
        • How it works
        • There's more
      • Index and de-index programmatically
        • How to do it
        • See also
      • Managing filters programmatically
        • How to do it...
        • See also
      • Subscribing to a filter
        • How to do it
        • How it works
        • There's more
        • See also
    • 7. Programming Issues
      • Introduction
      • Creating an issue from a plugin
        • How to do it...
        • How it works...
        • There's more...
          • Using IssueManager to create the issue
        • See also
      • Creating subtasks on an issue
        • How to do it...
        • See also
      • Updating an issue
        • How to do it...
      • Deleting an issue
        • How to do it...
      • Adding new issue operations
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Conditions on issue operations
        • Getting ready...
        • How to do it...
        • How it works...
      • Working with attachments
        • Getting ready
        • How to do it...
          • Creating an attachment
          • Reading attachments on an issue
          • Deleting an attachment
        • There's more...
      • Time tracking and worklog management
        • Getting ready...
        • How to do it...
          • Auto adjusting the remaining estimate
          • Logging work and retaining the remaining estimate
          • Logging work with a new remaining estimate
          • Logging work and adjusting the remaining estimate by a value
        • How it works...
        • There's more
          • Updating worklogs
          • Deleting worklogs
            • Auto adjusting the remaining estimate
            • Deleting a worklog and retaining the remaining estimate
            • Deleting a worklog with a new remaining estimate
            • Deleting a worklog and adjusting the remaining estimate
      • Working with comments on issues
        • How to do it...
          • Creating comments on issues
          • Creating comments on an issue and restricting it to a project role or group
          • Updating comments
          • Deleting comments
      • Programming change logs
        • How to do it...
        • How it works...
      • Programming issue links
        • Getting Ready
        • How to do it...
        • There's more...
          • Deleting issue links
          • Retrieving issue links on an issue
      • Discarding fields while cloning
        • Getting ready...
        • How to do it...
        • How it works...
        • See also
      • JavaScript tricks on issue fields
        • How to do it...
        • How it works...
      • Creating issues and comments from an e-mail
        • How to do it...
        • How it works...
    • 8. Customizing the UI
      • Introduction
      • Changing the basic look and feel
        • How to do it...
      • Adding new web sections in the UI
        • How to do it...
        • How it works...
        • See also
      • Adding new web items in the UI
        • How to do it...
        • How it works...
        • See also
      • Use of decorators
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Adding conditions for web fragments
        • How to do it...
        • How it works...
      • Creating new Velocity context for web fragments
        • How to do it...
        • How it works...
      • Adding a new drop-down menu on the top navigation bar
        • How to do it...
        • How it works...
      • Dynamic creation of web items
        • Getting ready
        • How to do it...
        • How it works...
      • Adding new tabs in the View Issue screen
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
          • Loading issue tab panel asynchronously
      • Adding new tabs in the Browse Project screen
        • Getting ready
        • How to do it...
        • How it works...
      • Creating the project tab panel using fragments
        • How to do it...
        • How it works...
      • Adding new tabs in the Browse Version screen
        • Getting ready
        • How to do it...
        • How it works...
      • Adding new tabs in the Browse Component screen
        • Getting ready
        • How to do it...
        • How it works...
      • Adding issue link renderers
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Extending a webwork action to add UI elements
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Displaying dynamic notifications/warnings on issues
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Re-ordering issue operations in the View Issue page
        • How to do it...
        • How it works...
        • See also
      • Re-ordering fields in the View Issue page
        • How to do it...
        • There's more
          • Wrapping custom fields in a separate module
        • See also
    • 9. Remote Access to JIRA
      • Introduction
      • Writing a Java client for the REST API
        • Getting ready
        • How to do it...
      • Creating a SOAP client
        • Getting ready
        • How to do it...
      • Writing a Java XML-RPC client
        • Getting ready
        • How to do it...
      • Working with issues
        • Getting ready
        • How to do it...
      • Working with attachments
        • Getting ready
        • How to do it...
          • Using the input stream and a new filename
          • Using AttachmentInput
          • Using file and a new filename
          • Browsing attachments
      • Remote time tracking
        • Getting ready...
        • How to do it...
      • Working with comments
        • Getting ready
        • How to do it...
      • Remote user and group management
        • Getting ready
        • How to do it...
      • Progressing an issue in a workflow
        • Getting ready
        • How to do it...
      • Managing versions
        • Getting ready
        • How to do it...
      • Managing components
        • Getting ready
        • How to do it...
      • Remote administration methods
        • Getting ready
        • How to do it...
        • How it works...
      • Exposing services and data entities as REST APIs
        • Getting ready
        • How to do it...
        • How it works...
      • Deploying a SOAP service in JIRA
        • Getting ready
        • How to do it...
        • How it works...
      • Deploying an XML-RPC service within JIRA
        • Getting ready
        • How to do it...
        • How it works...
        • See also
    • 10. Dealing with the JIRA Database
      • Introduction
      • Extending the JIRA database with a custom schema
        • How to do it...
        • How it works...
      • Accessing database entities from plugins
        • How to do it...
          • Reading from a database
          • Writing a new record
          • Updating a record
      • Persisting plugin information in the JIRA database
        • How to do it...
        • How it works...
      • Using Active Objects to store data
        • Getting ready
        • How to do it...
        • How it works...
      • Accessing the JIRA configuration properties
        • How to do it...
      • Getting a database connection for JDBC calls
        • How to do it...
      • Migrating a custom field from one type to another
        • How to do it...
      • Retrieving issue information from a database
        • How to do it...
        • There's more...
      • Retrieving custom field details from a database
        • How to do it...
      • Retrieving permissions on issues from a database
        • How to do it...
      • Retrieving workflow details from a database
        • How to do it...
      • Updating the issue status in a database
        • Getting ready
        • How to do it...
      • Retrieving users and groups from a database
        • How to do it...
      • Dealing with change history in a database
        • How to do it...
    • 11. Useful Recipes
      • Introduction
      • Writing a service in JIRA
        • Getting ready
        • How to do it...
        • See also
      • Adding configurable parameters to a service
        • How to do it
        • How it works...
        • See also
      • Writing scheduled tasks in JIRA
        • How to do it...
        • How it works...
        • There's more...
      • Writing listeners in JIRA
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Handling, enabling, and disabling of plugins
      • Customizing e-mail content
        • How to do it...
        • How it works...
        • There's more...
          • Advanced customizationadding custom field information
      • Redirecting to a different page in webwork actions
        • How to do it...
      • Adding custom behavior for user details
        • Getting ready
        • How to do it...
        • How it works...
      • Deploying a servlet in JIRA
        • Getting ready
        • How to do it...
        • How it works...
      • Adding shared parameters to the servlet context
        • Getting ready
        • How to do it...
        • How it works...
      • Writing a servlet context listener
        • Getting ready
        • How to do it...
        • How it works...
      • Using filters to intercept queries in JIRA
        • Getting ready
        • How to do it...
        • How it works...
      • Adding and importing components in JIRA
        • Getting ready
        • How to do it...
          • Exposing components to other plugins
          • Importing public components
          • Using service properties in components
        • How it works...
      • Adding new module types to JIRA
        • Getting ready
        • How to do it...
          • Creating modules using the new module type
          • Using the new modules created
        • How it works...
      • Enabling access logs in JIRA
        • How to do it...
        • How it works...
      • Enabling SQL logging in JIRA
        • How to do it...
        • How it works...
      • Overriding JIRA's default components in plugins
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Overriding by modifying the JIRA code
      • Internationalization in webwork plugins
        • How to do it...
      • Sharing common libraries across v2 plugins
        • Getting ready
        • How to do it...
      • Operations using direct HTML links
        • How to do it...
    • Index
  • Tytuł: JIRA 5.x Development Cookbook. This book is your one-stop resource for mastering JIRA extensions and customizations
  • Autor: Jobin Kuruvilla, Jobin Kuruvilla
  • Tytuł oryginału: JIRA 5.x Development Cookbook. This book is your one-stop resource for mastering JIRA extensions and customizations
  • ISBN: 9781782169093, 9781782169093
  • Data wydania: 2013-04-25
  • Format: Ebook
  • Identyfikator pozycji: e_3d2t
  • Wydawca: Packt Publishing