BookmarkSubscribeRSS Feed
4 REPLIES 4
Quentin
Super User

It's helpful to write more description of your question, not just a title.

 

I would think you would use Jira REST API's for this.  Chris Hemedinger has a bunch of blog posts and papers about using REST API's from SAS.  See: https://blogs.sas.com/content/sasdummy/tag/rest-api/

 

If you try it and have specific problems, please update your question (or post a new question) with details on your code, how you've tested it, and what problems / error messages you are getting.

divya_p8
Calcite | Level 5

Thanks for the reply@Quentin. But I couldn't find any SAS code mentioned to integrate with JIRA.

 

Problem Statement: After importing an excel file into the SAS, if I found any error during the control check in the sas code. I need to raise a JIRA ticket to the concerned person who has provided the excel input file for further corrections from his end.

Quentin
Super User

I don't think you'll be able to find native SAS code to create a Jira ticket.

 

But if you're familiar with using REST API's, they provide a way to connect to Jira by passing data over the web.  So SAS should be able to use that interface to connect to Jira and create a ticket.  Looks like the Jira API has examples at:
https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/

 

And the link I posted before has articles showing how to call a REST API from SAS.

But if it this is your first time using REST API's, it might be tough to learn. You might want to check if there are other people in your company using a REST API to connect to your Jira instance already.  Even if they're not using SAS, the commands they use should be the same.  Then you would need to implement them in SAS.

AlanC
Barite | Level 11

To echo Quinten, the best way to integrate SAS with other systems is via REST APIs. Use PROC HTTP. Jira is no different than any of them. Everyone uses REST APIs these days for interop. 

 

Get the REST API tested using something like PostMan first then translate that into the PROC HTTP commands. It is actually fairly easy to do once you establish what is needed in the call. Do that though in any of the REST testing tools. PostMan is the most popular but there are others such as SoapUI. 

 

You need to use a POST service but I always find it easier to start with a GET service. Here is a paper to start with: The ABCs of the HTTP Procedure (sas.com)

https://github.com/savian-net

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1471 views
  • 0 likes
  • 3 in conversation