I have a recurring job (implements JobRunner) that I want to parameterize. I have written the job, tested it, and it works (with default parameters). I have also written and tested an Admin screen to collect my parameters. My question is relatively straightforward:
What is the best best way to communicate my parameters to the job?
Hello @robert_egan_305 !
As I understand, you are developing a Confluence Plugin and need to pass some variable values to your job.
You can use the interface called JobRunnerRequest to send the values to your JobRunner call. Since the runJob method takes the JobRunnerRequest type as a valid value for the parameter, you can send the necessary info there.
You can check more information here:
Development is not my specialty, so my help is limited. But, you can surely reach out to our sister community, the Developer Community! You can send your question here:
I hope this helps you!
Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond. A long time favorite, Team Cale...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events