Skip to content

Commit

Permalink
UPDATE Usage.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Gazdikova committed Jun 19, 2017
1 parent e9ca90f commit fdb75fb
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions read-the-docs/source/Usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ Usage

**The general usage workflow for creating new tickets is:**

Introduction
""""""""""""""
`Introduction`

Create a JiraTicket, RTTicket, RedmineTicket, BugzillaTicket
or ServiceNowTicket object with ``<url>``, ``<project>`` and ``<auth>``. This
Expand All @@ -15,8 +14,7 @@ authentication (JIRA and RT), the ``<auth>`` parameter should contain
'kerberos'.


**How to**
**********
`How to`

- Create a ticket with the ``create()`` method. This sets the ``ticket_id``
instance variable, allowing you to perform more tasks on the ticket.
Expand All @@ -39,8 +37,7 @@ authentication (JIRA and RT), the ``<auth>`` parameter should contain

- Close ticket Requests session with ``close_requests_session()``.

Contd..
***********
`Contd..`

There is also a ``set_ticket_id()`` method for a Ticket object. This is
useful if you are working with a Ticket object that already has the
Expand All @@ -49,8 +46,6 @@ on a separate ticket. Instead of creating a new Ticket object, you can
simply pass an existing ``<ticket_id>`` in to the ``set_ticket_id()``
method to begin working on another ticket.

How to:
*******

- To return the current Ticket object's ticket_id or ticket_url, use the ``get_ticket_id()`` or ``get_ticket_url()`` methods.

Expand Down

0 comments on commit fdb75fb

Please sign in to comment.