- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 09:05 AM
Hi all,
I currently have one Jira instance (let's call it Black) already setup via OAuth 2.0 that I can utilize to send REST calls to.
We have another Jira instance (let's call it Red) that I am trying to have my flow dynamically choose between based on the project selected on a form. The Red instance is setup in Connections & Credentials just like the Black instance:
However, as seen in the first screenshot, the Red instance is not an available connection and therefore Flow Designer actions run only to the Black instance. The Black connection was added first and is "default" (though I don't see where this is defined).
Following the multiple connections documentation, I attempted to add the existing Red connection, but it appears like it this is setting up a new connection and not adding the existing one. This is using the Jira Spoke essentially out of box. I did need to change the Configuration Template from "Basic Auth with API Key" to "OAuth Authorization Code" since I am using OAuth here.
Any help regarding this would be greatly appreciated!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2023 03:15 PM
To help any others that may stumble upon this, I was able to get it to work by making the second connection a child alias. I'm not sure if this is the optimal way to do it, but after setting it this way, I am able to manage the connections on a per flow basis. Many of the actions have to be copied to support multiple connections, though.
Introduction to credentials, connections, and aliases (servicenow.com)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 09:11 AM
To add an existing OAuth connection as a second option in IntegrationHub of ServiceNow, you can follow these steps:
Navigate to the IntegrationHub application in ServiceNow and click on the "Actions" button in the top left corner.
Select "Designer" from the dropdown menu to open the IntegrationHub Designer.
In the IntegrationHub Designer, click on the "Actions" button in the top right corner and select "Create Action".
In the "Create Action" dialog, enter a name and description for the new action and select the type of action you want to create.
Under the "Authentication" section, click on the "Select OAuth Connection" dropdown menu and select "Add OAuth Connection".
In the "Add OAuth Connection" dialog, select the existing OAuth connection that you want to add as the second option.
Click "Submit" to save the changes and add the OAuth connection as a second option for the action.
You can now use the new action with the two OAuth connections in your IntegrationHub flows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2023 08:57 AM
Thanks @Sankar N for your time and response!
I'm having some difficulty following your instructions. When I go to the IntegrationHub application, I don't see the ability to Create Action, only a new integration.
If I choose that, giving a name and description, this is what I see further:
If I instead choose to go via Flow Designer to create a new action, there also is not an authentication section:
Perhaps I am following the wrong modules?
Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023 02:04 AM
Please mark my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2023 09:27 AM
I was referring the flow designer actually, please create a new action and follow step 5 to 8 in my above comment.