Forums

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

How do I see who submitted what form and when?

Nathan Winspear
Contributor
October 28, 2024

Hello all,

I've been at this for a while now and I can't quite figure out how to do what I want to do (or for that matter, if it's even possible)

We are using a JWM project to perform a basic access review when certain actions happen. To do this we are adding 5 - 10 forms (specifically Advanced Forms) to a Jira issue when said action occurs and then various responsible people go and complete those forms.

Strangely none of these form submissions (or saves) for that matter are stored in the ticket history, additionally when I use the API to try and garner some information there is nothing relevant there either.

The best I've managed so far is that when a form is submitted it will comment that "User X submitted a form" which is almost useless as a simple audit trail of what happened.

I'm reaching out to the community in hopes you know something that I don't 😅

If this is a duplicate of a question I couldn't find, let me know and I'll close it!

Thanks in advance

-N 

3 answers

1 accepted

2 votes
Answer accepted
Nathan Winspear
Contributor
February 17, 2025

Hey @Steven Schroeder!

I wasn't able to solve this problem at the time. However about a month later I saw this post which referenced this ticket and this documentation about some form values being accessible in Jira Automation.

I played around with this for a little while but wasn't able to access the forms name - strange that they didn't expose the name of the form in this release! Nevertheless, I was able to access the form ID using {{ forms.last }} which enabled me to use the Web Request action and the Jira Forms API (specifically Get Form) to access the forms details, including its name.

If the web request returned a SUCCESS response, I could access the forms name using the following {{ webResponse.body.design.settings.name }}. If not I just have it creating an IT ticket so I can investigate.

Along with logging actions to the audit log, my final automation is as below:

 

Form Submitter Example.png

 

Note 1: If anyone is able to find a better way to access the name, please let me know!

Note 2: I'm using Jira Cloud not Jira Data Center

Note 3: I have removed my cloud ID from the automation image, be sure to replace it if you're going to use it.


Hopefully this is helpful to someone!

Nathan

 

Nathan Winspear
Contributor
February 17, 2025

Having dug further into this documentation I realised that there is probably an easier way to do this.

Inside of each form if you add a text field with the name of the form and specify a field key, e.g. "formName", then you can access that value when the form is submitted using {{ forms.last.formName }}.

This does mean you have to add this value to each form and keep it in sync with the actual form name but does work.

You can potentially hide it from the user by making it conditional on a field that no one sees.

Just an extra thought

Like Jason M. likes this
2 votes
Olha Yevdokymova_SaaSJet
Atlassian Partner
October 31, 2024

Hello @Nathan Winspear 

In Jira Work Management (JWM), there is limited functionality to track specific form submissions with user details and timestamps. Natively, JWM does not provide detailed tracking for who submitted a form and when within each issue’s history or activity log.

You may want to try Smart Forms for Jira, which offers enhanced tracking and visibility options for form submissions within Jira.

Here’s how Smart Forms for Jira can help:

  1. Detailed Submission History: With Smart Forms for Jira, you can view a submission history log directly within the issue. This allows you to see who submitted each form and when.Screenshot 2024-10-31 at 16.00.45.png

  2. Submission Data in Comments: In addition to logging submissions, Smart Forms automatically adds a comment each time a form is submitted, including details on who submitted and timestamped information. This means you get more than just “User X submitted a form”—you can track each form submission with relevant submission data tied to the comment.

  3. Centralized Review: When you’re managing multiple forms on a single issue, Smart Forms keeps each form’s history organized. This helps track submissions for individual forms, making it easy to see which forms are pending or completed and by whom.

  4. Response Analytics: Smart Forms provides Response Analytics that allows you to view detailed submission data and export it in Exel or PDF including who submitted each form and the exact time.e2f36c22-cfb6-41c6-adc9-0dc679a91765.png38bc6377-2ed4-4096-be0e-e3880fc0454e.png
0 votes
Steven Schroeder
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 14, 2025

I am using Jira Service Management and have the same issue.

I'd like to know who and when the form was submitted and there does not appear to be any audit of it anywhere includng as the original poster mentioned the ticket history.

However, I don't even have or see the behaviour that 'when a form is submitted it will comment that "User X submitted a form"' - I am wondering how the original poster was able to get that comment.  Was it through the introduction of an automation rule?  I am hoping that @Nathan Winspear might provide some more details.

Nathan Winspear
Contributor
February 17, 2025

Hey @Steven Schroeder!

I wasn't able to solve the issue at the time, however about a month later I found this post relating to this ticket and this documentation mentioning that Atlassian added the ability to access some form fields in Jira automation.

After some playing, I wasn't able to get the name of the form from these details - strange that they didn't expose the form name!  However, I was able to access the form ID of the last submitted form with `{{ forms.last }}` (which I couldn't before).

This enabled me to use the Web Request action and the Jira Forms API (specifically Get Form) to get the basic details about the form, including its name.  The variable that returns the name is {{ webResponse.body.design.settings.name }}

Along with logging any actions that I'm taking, here's what I landed on for the time being.

 

Form Submitter Example.png

 

Note 1: If anyone is able to access the form name without using the form API please comment below, I'd prefer a solution that doesn't require external API calls!

Note 2: I am using Jira Cloud not Data Center.

Note 3: I have replaced my actual Cloud ID with <cloud_id>.

 

Hopefully that's helpful!

Nathan Winspear
Contributor
February 17, 2025

Atlassian! Why did my reply just disappear from this page?

Nathan Winspear
Contributor
February 17, 2025

Hey @Steven Schroeder

I wasn't able to solve this problem at the time. However about a month later I saw this post which referenced this ticket and this documentation about some form values being accessible in Jira Automation.

I played around with this for a little while but wasn't able to access the forms name - strange that they didn't expose the name of the form in this release!  Nevertheless, I was able to access the form ID using {{ forms.last }} which enabled me to use the Web Request action and the Jira Forms API (specifically Get Form) to access the forms details, including its name.

If the web request returned a SUCCESS response, I could access the forms name using the following {{ webResponse.body.design.settings.name }}. If not I just create an IT ticket for myself to investigate.

As is my approach, I made sure to log all actions to the audit log to make debugging easier and my final automation is as below:

 

Form Submitter Example.png

 

Note 1: If anyone is able to find a better way to access the name, please let me know!

Note 2: I'm using Jira Cloud not Jira Data Center

Note 3: I have removed my cloud ID from the automation image, be sure to replace it if you're going to use it.

 

Hopefully this is helpful to someone!

Nathan

 

Nathan Winspear
Contributor
February 17, 2025

Apologies @Steven Schroeder both of my replies have disappeared, possibly being marked as spam as this post suggests. I'll try post it as an answer instead

Posting as an answer seemed to work fine.

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