Forums

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

Using Smart Values with JSM Forms and Data Connection

Nicolas PR
Contributor
July 3, 2025

Hello,

I'm trying to set up Forms in Jira Service Management using a Data Connection as a source for a dropdown field.

We have an internal API that returns client-related information. To filter the results properly, we need to send a parameter to the Data Connection—specifically, the Atlassian user ID or email address of the user filling out the form.

The idea is to restrict the returned data so that the user only sees the information they are authorized to access. This filtering is handled by our API, but it requires a dynamic parameter to identify the current user.

Is it possible to send smart values (e.g., {{user.emailAddress}} or {{user.accountId}}) as query parameters or in the request header when the form calls the API?

Thank you in advance.

2 answers

0 votes
Nicolas PR
Contributor
July 7, 2025

Hi @Marc - Devoteam 

It's not about doing something complex…

The basic idea is simply to populate a dropdown list based on data specific to a user or a user group.

Is there any other solution to send the user ID to the API used for the data connection? Maybe with an add-on or some custom development?

I don't really see the point of calling an API that returns a dataset which can't be filtered...

 

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 2025

Hi @Nicolas PR 

I don't think so the data connection is there to use information from the external source in a form.

This can only be used in certain form fields, like single or multi select.

You can't sent information to the connected data.

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 7, 2025

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events