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.
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.
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?
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.