NZTA\SDLT\IssueTracker\JIRA\JIRA
JIRA class makes calls to the cloud/back-office ticketing application for adding tasks, and querying its RESR API.
Synopsis
class JIRA
extends IssueTrackerSystem
{
- // members
- protected Client $client = NULL;
- // methods
- public string call()
- private Response doPost()
- private Response doGet()
- public string addTask()
- public void getControlDetailsFromJiraTicket()
- // Inherited methods from IssueTrackerSystem
- public abstract string call()
- public abstract string addTask()
- public IssueTrackerTicket issue()
Hierarchy
Tasks
Line | Task |
---|---|
191+ | Add setter(s) to {@link JIRAIssueV3} to set arbitrary JSON and add various get/path methods ala XPath for JSON (See: https://github.com/peekmo/jsonpath). |
Members
protected
Methods
private
- doGet() — Shortcut method to make a POST request.
- doPost() — Shortcut method to make a POST request.
public
- addTask() — Adds a task to the JIRA board.
- call() — username, api_key, atlassian_instance, project_name are passed in with Injector:
- getControlDetailsFromJiraTicket() — Each JIRA ticket embodies a single {@link SecurityComponent} and contains a list of control-names built from a local list of {@link SecurityControl} records related to the applicable {@link SecurityComponent} record.