Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Single User Picker > ConfiForms Create Jira Issue (Customfield)

GAVIN Benn
Contributor
April 13, 2025


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.

  • Custom field 'Owner' is created using the same User Picker for Assignee / Reporter default fields.
  • Custom field 'Owner' is on the Jira Create Issue screen for the issue type 'Epic'
  • I've tried using "id" and "key"
  • I've tested using the same code for default reporter = current user replacing reporter with customfield_12103 and it adds in the current user correctly.
    • "reporter": { "id": "[entry._user]" },
  • I have also searched other Jira support boards and couldn't find the same issue replicated and solved.


JSON:
"customfield_12103": {"key": "[entry.owner.escapeJSON]"},

 

5d76ed45ae19790db93fa1b1

 

"reporter": { "id": "[entry._user]" },

 

owner1.pngowner2.pngowner3.pngowner4.png

1 answer

1 accepted

1 vote
Answer accepted
Alex Medved _ConfiForms_
Community Champion
April 14, 2025

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 

GAVIN Benn
Contributor
April 14, 2025

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.

Alex Medved _ConfiForms_
Community Champion
April 14, 2025

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)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events