Forums

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

How to pull values from Froms on an issue?

Alex Atkinson August 18, 2022

Hello,

I've created a Form in the project settings and attached it to the issues that need this form. However, I'd like to use the REST API to fetch the values in the form. When using "http://<your-website>/rest/api/3/issue/<issueKey>", I do not see any information about the form. I don't think it's a custom field, but not sure. My end goal is to take these values and use them to fill in issue fields/details. For example, the form will ask for an employee's name and based on their name, or textfield value, the issue detail "Assignee" will be filled in with that value. Does anyone know how to access these values? Thanks!

2 answers

2 accepted

4 votes
Answer accepted
Joseph Chung Yin
Community Champion
August 18, 2022

@Alex Atkinson -

"Link a question to a Jira field" means that when you configure your FORM design, you can associate an element on the form to link to a Jira issue field.  When it is done, the value of the specific element will be populated to your Jira issue.

See more details in this link - https://support.atlassian.com/jira-service-management-cloud/docs/link-a-form-field-to-a-jira-field/

Afterward, you can use Jira's REST APIs to pull the Jira issue fields.

Best, Joseph

Alex Atkinson August 18, 2022

Makes sense! Thank you guys!

2 votes
Answer accepted
Mikael Sandberg
Community Champion
August 18, 2022

Currently your only option to get data from the form is to link the question to a Jira field. Form API is something Atlassian is working on, and currently it is slated for a Q3-Q4 2022 release according to the public roadmap.

Alex Atkinson August 18, 2022

What does it mean to "link a question to a Jira field"?

Suggest an answer

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

Atlassian Community Events