Good morning
I am using JIRA in my company.
I've been using JIRA to find out that there is an API and I'm testing it.
I tested using bash to automatically generate JIRA, and I was successful
#!/bin/bash
jira_user="id"
jira_pw="pass"
jira_server="jira.test.com"
project="SECURITY"
issuetype="Inquiry"
api_data="{\"fields\":{\"project\":{\"key\":\"${project}\"},\"summary\":\"jira test\",\"description\": \"my description\",\"issuetype\":{\"name\":\"${issuetype}\"}}}"
curl -u "${jira_user}":"${jira_pw}" -w "<%{http_code}>" -H "Content-Type: application/json" https://${jira_server}/rest/api/2/issue/ -X POST --data "${api_data}"
The reason I leave an article is
Assignee can not be specified.