Forums

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

how do i get the value of an already created issue, from the form field to a project field?

Koen Bruggeman
Contributor
August 6, 2025

hi,

 

i aleady have a lot of created issues, filled with form fields.

I recently learned you cannot filter on those fields. Now I found the way how to link form fields to project fields and filtering is now working for newly created issues.

But how can I populate the already created form field content to project fields? Issues from before i figured out how to link them?

I tried resubmitting the form, but that doesnt populate the project field.

I hope someone knows how because i already have 1000ish issues.

 

Thank you!

 

2 answers

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.
August 7, 2025

Hi @Koen Bruggeman 

This is kind of not possible on historic issues with a form.

The only option I see is to use the Forms API and then one of  the calls:

So have a manual automation on the issue where you call one of the API endpoints and based on a condition based on the response, use {{webReponse.body}} output to validate the answer is like A then set the new Jira field to A.

Also you could to this more advanced on 1st doing an issue lookup and then branch over the results.

Koen Bruggeman
Contributor
August 7, 2025

i am not that advanced, but i try to understand what youre saying and try to give it a go.

however, any additional help in form of a manual would be much appreciated :-D

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.
August 7, 2025

Hi @Koen Bruggeman 

  1. You will 1st need to create an api token, https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/ 
  2. Then get your cloud ID: https://<site-name>.atlasisan.net/_edge/tenant_info
  3. Then you will need to get the id of the form where the answer is in.

    You will need you account id and token to authenticate, also for the other calls, except in the automation rule

    https://api.atlassian.com/jira/forms/cloud/<cloud-id>/project/<project-key>/form
  4. Above will list all forms on your project, find the id that is listed as "id" where the name matches the form used.
  5. The in the automation we can do the web request.

    https://api.atlassian.com/jira/forms/cloud/<cloud-id>/ issue/{{key}}/form/<form-id from 4>/format/answers

    Where {{key} is the branch variable (if you use the example rule, in screenshot)
  6. In the edit action of the automation rule set your field and the value that the field needs to have.

Screenshot 2025-08-07 at 16.25.05.png

Koen Bruggeman
Contributor
August 7, 2025

Thanks for your extra explication @Marc - Devoteam ,

i think i did it correctly.

it looks like i am not allowed?unauthorized.png

 

where do i paste this code elsewhere than the automation trying to fetch the list-data like so: https://developer.atlassian.com/cloud/forms/rest/api-group-forms-on-issue/#api-issue-issueidorkey-form-formid-get

 

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.
August 8, 2025

Hi @Koen Bruggeman 

It seams you don't have access or you don't have been granted a JSM license.

The get form id action is only to get the id. This id is need in the web request in the automation

 

0 votes
Maja Vallin
Contributor
August 6, 2025

I have not tried this myself but just have you tried creating an automation that just re-fetch issue data?

I would try with a manual trigger first and test it out on a few issues to see if it works. If it works then I would change the trigger to Scheduled and add a JQL that matches the issues I want to re-fetch issue data from (if there's a lot of issues the automation can get throttled so keep an eye on the auditlog for the automation) and then I would then select to run the rule right away. And when done you can inactive the rule or delete it.

Skärmavbild 2025-08-06 kl. 17.04.58.png

Koen Bruggeman
Contributor
August 6, 2025

it sounded like a good idea, but didnt work :(

Schermafbeelding 2025-08-06 174013.png

Suggest an answer

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

Atlassian Community Events