Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This guide will help you configure your Salesforce using the Connector Fetch REST API so that it has the ability to display Jira information via the Visualforce page. The information will be called through the Fetch Endpoint provided by the Connector.

...

  1. Log in into Salesforce.
  2. Go to Setup > App Setup > Develop > Apex Classes > New. (If you have already created this Apex Class, you do not need to do this step).
  3. Now, create another Apex Class (follow the same steps in Step 2) and paste the following code into the field:

...

Step 2: Create the Visualforce page

Now that the Apex controller has been written, we can use it in Visualforce page. Let's create a Visualforce page:

  1. Go to Setup > App Setup > Develop > Pages > New
  2. In "label" field: FetchJIRAIssues
  3. In "name" field: FetchJIRAIssues
  4. In "Visualforce Markup", paste the code below.
  5. Click Save.
     

...

Do remember to also include the Fixtures and Mock Objects found on the Apex Class Parent Code page before using the following code:

...