Hello!
I have a Data Connection in my Portal Forms connected to a singe-dropdown.
WHen using a Data Connection, you aren't able to link the chosen data to a Jira field as you'll get the error:
I have an alternative solution for this, not ideal but might help.
1. After the issue is created, we can access the Forms field data based on its properties, fox example:
For the ID of the field:
{{issue.properties."proforma.forms.i1".design.questions.1.choices.get(0).id}}
For the label of the field (display value):
{{issue.properties."proforma.forms.i1".design.questions.1.choices.get(0).label}}
NOTE: When a Forms field is used with a Data connection, it always has 2 properties: ID and label - as defined via the Data connection.
The exact structure of the smart value will depend on the structure/order of field in the Forms, to visualize it we can use Entity Property Tool for Jira.
2. Set/clone the Forms' value to another Jira custom field via Automation Rule. For example: the Forms field that is used for Data connection is named: Client (Forms), we clone the selected value into another Jira custom field called: Client, and use this custom field for the JQL.
The proposed solution did the job. 👍
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Kim Andersson ,
I'm pretty new to the use of forms to but to my knowledge, in order to link a form field to an actual Jira Custom field you need to use the "Linked Jira field" option, right on top of the "Data connextion" option.
Then the link will work both ways, which means that you form field will take values in your custom field, and when the form is created the value is copied in your jira custom field.
Does it help ?
Guilhem
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.