JIRA integration REST API is missing `jira_transition_id` in responses
The responses of the JIRA integration REST API are incomplete.
For example it's missing the jira_transition_id
field.
Steps to Reproduce
The following curl
command:
curl -X PUT "http://localhost:8080/api/v4/projects/71/services/jira" --header "PRIVATE-TOKEN: ACCTEST1234567890123" --header 'Content-Type: application/json' --data '{
"url": "https://testurl.com",
"api_url": "https://testurl.com/rest",
"project_key": "",
"username": "user2",
"password": "mypass_update",
"jira_issue_transition_id": "3",
"merge_requests_events": true
}'
... returns:
{
"id": 29,
"title": "Jira",
"slug": "jira",
"created_at": "2022-05-15T15:23:14.883Z",
"updated_at": "2022-05-15T15:23:14.883Z",
"active": true,
"commit_events": false,
"push_events": true,
"issues_events": true,
"confidential_issues_events": true,
"merge_requests_events": true,
"tag_push_events": true,
"note_events": true,
"confidential_note_events": true,
"pipeline_events": true,
"wiki_page_events": true,
"job_events": true,
"comment_on_event_enabled": true,
"properties": {
"url": "https://testurl.com",
"api_url": "https://testurl.com/rest",
"username": "user2"
}
}
Observed Behavior
The jira_transition_id
field is nowhere to be found in the response. Neither in the response to the create endpoint nor in the response of the get endpoint.
Expected Behavior
The jira_transition_id
should be part of those responses. Probably as part of the properties
object.
Impact
The Terraform GitLab Provider currently has a buggy resource due to this behavior.
/cc @nagyv-gitlab could you help me to find the appropriate team to help out here?