Proforma Data Connection Return Values for Current User

Robert Cook February 28, 2024

I have a Proforma Data Connection which uses a REST API connection type to get the values returned from a JQL query like shown below:

/rest/api/2/search?jql=project%20=%20%22Test%22%20AND%20issuetype%20=%20%22Intake%22%20AND%20reporter%20=%20currentUser()%20AND%20status%20=%20Complete

The goal is to return the found issues on the form field pertaining to the user currently interacting with the form. However, it currently only returns the issues which are reported by myself. I am not sure why it only returns for myself instead of the current user who is interacting with the form.

1 answer

0 votes
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 28, 2024

@Robert Cook -

Hi Robert:

The problem with your RESTAPIs called JQL query usage of "currentUser()", this JQL query will only return the issues which are reported by the account that is executing the call.

Which account is used in your Data Connection setup?  Please advise so we can assist you further.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Robert Cook February 29, 2024

Ah I am using a Personal Authentication Token to support the API call, I am assuming that is causing the issue. Is there a way I can circumvent this so that the data connection will return the applicable results for the current user?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events