Hello,
I'm trying to use the Single User Picker in ConfiForm to select a User and then push that information into Jira for a custom field that is a User Picker in Jira.
The information that ConfiForm generates is a user ID # 5d76ed45ae19790db93fa1b1 and Jira doesn't seem to be matching that up in the customfield.
JSON:
"customfield_12103": {"key": "[entry.owner.escapeJSON]"},
5d76ed45ae19790db93fa1b1
"reporter": { "id": "[entry._user]" },
As far as I know (but Atlassian should not it better) the user field in JSON mapping should be mapped as follows:
"customfield_12103": {"id": "[entry.owner]"},
Something like 5d76ed45ae19790db93fa1b1 is the account id in cloud that identifies the user
Assuming the user has access in your Jira instance and the project, it should work
Alex
Looks like that has worked. So as long as the user has access to the Project and the Instance this will be okay. Is there an existing thread on what I can do when someone doesn't have these things instead of it generated an error / Null value? Similarly the field for Reporter would have the same requirements as it's setup as 'reporter = current user'.
"customfield_12103": {"id": "[entry.owner]"},
"customfield_12103": {"id": "[entry.owner.escapeJSON]"},
The user is an Admin to the Project and a user in the Jira instance also.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ConfiForms does not know if the user account you are passing as an argument into some field in Jira has access to your Jira instance or not.
Unless there is some kind of a security group that tells that, if you have it configured that way
In this case the virtual function https://wiki.vertuna.com/spaces/CONFIFORMS/pages/2359385/Virtual+functions to check if the user belongs to a group can be used (userInSecurityGroup)
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.