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: 

Is it possible to run parts of a user macro based on data entered into an input in page?

Steve Goldberg
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 Champions.
July 23, 2013

I have some user macros that run queries on users and groups that currently require the user to edit the page, change a parameter, and then save the page to see the results. I would prefer that simply that I can put a text input field into part of the macro, which is then included in the page, which then runs the code when a user hits the submit button.

Is such a thing possible?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
David at David Simpson Apps
Atlassian Partner
July 24, 2013

If your user macro includes a form and also reads request parameters, when you submit the form it could reload the page. Alternatively, it could do some query using AJAX and then display data returned.