The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to use "Update ConfiForms Field value by filter" API

Denver Thomas
Contributor
December 4, 2023

/rest/confiforms/1.0/updateFieldValue/{pageId}/{formName}

/rest/confiforms/1.0/updateFieldValue/{pageId}/{formName}/{filter}

Can I get an example of how to use this?

It all seems straightforward enough, but where do I actually define the field I want to update and what I want to update it with?

 

What I've tried:
confiforms/1.0/updateFieldValue/{pageId}/{formName}&fv=sendemail:1

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Champion
December 4, 2023

Hi @Denver Thomas 

You will need to put your form name instead of {formName} and page id (numeric) instead of {pageId}

Alex

Denver Thomas
Contributor
December 4, 2023

Thanks for getting back to me, Alex

Right, right (I've got those variables defined elsewhere in my code),

I'm just not sure how to format the,

&fv=sendemail:1

part at the end

Alex Medved _ConfiForms_
Community Champion
December 4, 2023

/rest/confiforms/1.0/updateFieldValue/{pageId}/{formName}/{filter}?fv=sendemail:1

Will update the form's sendemail field matching the given filter with 1

Like Denver Thomas likes this
TAGS
AUG Leaders

Atlassian Community Events