How to configure API key in Custom action flow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2025 01:02 AM
Hi,
I want to configure API key in custom action to set an integration outbound from snow to Jira. I created a Rest step in the Custom flow but not sure where to configure the API key. Can anyone help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2025 01:13 AM
are you using JIRA spoke for this?
check docs
Set up the Jira spoke for Jira Cloud
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2025 01:19 AM
No, I'm using custom action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2025 02:18 AM
Hi @Kri
If I understood your requirement correctly, you are making use of Rest Step within a flow action to make REST API call to Jira. If yes, have you explored the possibility of defining Credential Alias and defining the API Key as API Key Credentials within it. Refer below screenshot:
Alternatively, you can store the API Key within a Password2 type System Property, retrieve it by using
gs.getProperty('name of the system property');
and set it to the request header.
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.