Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to read Jira tickets #84

Open
wesley-dean-flexion opened this issue Nov 19, 2019 · 0 comments
Open

Add ability to read Jira tickets #84

wesley-dean-flexion opened this issue Nov 19, 2019 · 0 comments

Comments

@wesley-dean-flexion
Copy link

wesley-dean-flexion commented Nov 19, 2019

As a QPP Engineer, so that I can interact with existing tickets in Jira, I would like FCLI be able to read a ticket from Jira and present it to me.

A possible implementation could be to have FCLI accept a ticket id and return the result, possibly in JSON format. It may be nice to be able to specify which fields to return.

Initially, my thinking was that one would send FCLI a ticket id for a "read" function and have a separate function to perform searches. The read function would accept a ticket id and return many (most) of the fields; the search function would accept a series of criteria and return ticket ids or some subset of fields.

Now, I'm thinking that they're actually one function. A ticket "read" could be a search where the ticket id == (some value) and the list of fields is (most of the fields).

To simplify and or permit expressive searching, perhaps we allow arbitrary JQL.

This is unlike allowing arbitrary SQL because:

  1. JQL doesn't have the ability to write or update -- it can only read
  2. requests are performed with the user's access level -- one can't "trick" the system into returning anything that the user wouldn't otherwise be able to access
  3. when you perform a search in Jira, the resulting URL (hence, GET) includes the URL-encoded JQL -- we wouldn't be doing anything that Jira doesn't already do
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant