Hi all,
I created a ConfiForms survey were the results are to be used to create a Jira issue using the IFTTT integration rules.
The area I am having trouble with right now is on my ConfiForm page, I have a single selection dropdown field. I am trying to push that value onto a field in the jira page that is a multi-selection drop down field (labelled component).
I added a 'No Format' field in the IFTTT integration rules, executing the code below.
{ "fields": { "project": { "key": "XXX" }, "summary": "Test summary from confiForm", "description": "Test description from confiForm", "reporter": {"name":"Shakir Islam"}, "assignee": {"name": "Shakir Islam"}, "issuetype": {"name": "Engagement Request"}, "component": {"key": "BIP"} } }
This is the error I am getting:
- com.atlassian.sal.api.net.ResponseException: Error communicating with JIRA, {"errorMessages":[],"errors":{"component":"Field 'component' cannot be set. It is not on the appropriate screen, or unknown."}} Used JSON: '{ "fields": { "project": { "key": "XXX" }, "summary": "Test summary from confiForm", "description": "Test description from confiForm", "reporter": {"name":"Shakir Islam"}, "assignee": {"name": "Shakir Islam"}, "issuetype": {"name": "Engagement Request"}, "component": {"key": "BIP"} } }' Request to url = 'https://jira.aexp.com/jira/rest/api/latest/issue/'
The error reported from your Jira server tells you that the field "component", you are attempting to set cannot be set, because it is not settable through the "Create Issue" form / screen
What is missing on the form cannot be set with REST APIs.
Add the "component" field on the "Create Issue" screen and you shall be able to set it with REST APIs
Hi Alex,
The field 'component' is present on the jira 'Create Issue' form and still produces this error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Take a look at the following question and accepted answer to see the format expected by the "components" field - https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-set-components-in-Jira-REST-API-5-x-while-creating-a/qaq-p/529155
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.