Scientific Research & Experimental Development (SR&ED) Automation Service for Jira using Gemini AI
-
Clone the repository
git clone git@github.com:theREDspace/SREDIS.git
-
Copy the .env file
- Obtain the
.envfile from Keeper and place it in the project root directory. - Ensure it contains:
- Obtain the
JIRA_BASE_URL,JIRA_USER,JIRA_API_TOKEN,GEMINI_API_KEY,GEMINI_API_ENDPOINT, and the correct Jira field IDs.
-
Install dependencies
npm install
-
Configure Gemini Endpoint
- In your
.env:GEMINI_API_ENDPOINT= - Your
GEMINI_API_KEYwill be appended automatically by the code.
- In your
npm run dev
# or
npm startEndpoint:
POST http://localhost:3000/api/sred-analyze
Request Body (JSON):
{
"issueKey": "<YOUR_JIRA_ISSUE_KEY>"
}
Example :
{
"issueKey": "UDF25-415"
}
Using Postman:
- Set method to POST
- URL: http://localhost:3000/api/sred-analyze
- Body: raw, JSON, with the above payload
- Send the request
- The response will include the SRED summary. The response will be posted to JIRA and can be found in the SRED Documentation section of the ticket.