Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pull logs from Jira using API call into Splunk

jy August 6, 2021

I have seen this guide. https://splunkonbigdata.com/2020/02/20/jira-and-splunk-integration/

I am intrigued on the user api token permission level.

 

Does Splunk call api get to see all issues , or only issues created by this user only?

2 answers

1 vote
Daniel Ebers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 10, 2021

Hi @jy

adding to the great information Hana already has given I have noticed that the linked how-to refers to Cloud, whereas your tags here in Community state "Jira Server".

I could not identify if you already past that obstacle - if not it could be the source why you are saying:

I am intrigued on the user api token permission level.

Hana already linked the documentation for Jira Server API access - authentication is also covered by this document.

You can use your user account (not always recommended, due to security considerations - it is using 'Basic Auth') or (at least in newer versions which include 8.17 as you tagges here) 'Personal Access Tokens'.

Please compare with this documentation:

Please keep in mind that those are general information as I do not have experience with Splunk itself nor an integration between Splunk and Jira.
From the linked site I learned that you must download an App from Splunk - it was not clear if it is capable to communicate with Jira Server as such (only Cloud was mentioned).
I think there is some research still needed.

Cheers,
Daniel

0 votes
Hana Kučerová
Community Champion
August 6, 2021

Hi @jy ,

to be able to login to and work in Atlassian systems, you need to have Atlassian account. In the account's administration you can generate API tokens for some special usage - integrations, REST API calls etc - this token is used instead of the password the Atlassian account.

Now, if you want to get some special data from Jira, it is not about token settings, but about the permissions, which the user with this token has.

For example if you want to get issue data from all the projects, your user needs to have Browse Projects permission for all the projects etc.

jy August 7, 2021

your user needs to have Browse Projects permission for all the projects etc.

Where and how to set this browse projects permissions?

Hana Kučerová
Community Champion
August 7, 2021

Hi @jy ,

each project has associated one permission scheme, see here.

jy August 7, 2021

Also, do you have the list on what info it will show, if I use REST API method to get Jira info?

Please help to fill yes or no, assuming the REST API method is set  with the "Browse Projects permission for all projects"

Creation of projects - Yes?

Creation of Issues -Yes?

Creation of users- Yes?

Login of user- Yes?

Application issues- Yes?

Plugin/Dashboard issues- Yes?

Change in Jira configuration , eg. set email notifications settings - Yes?

Hana Kučerová
Community Champion
August 8, 2021

Hi @jy ,

first of all here's the REST API documentation.

  • Creation of projects - No, not project permission, you need to be Jira admin
  • Creation of Issues - No, Create issues permission is needed
  • Creation of users - No, not project permission, you need to be Jira admin
  • Login of user - Doesn't make sense - you get the data based on the user, who is requesting the data
  • Application issues - Yes
  • Plugin/Dashboard issues - It depends on plugin, which data for issues can be get via REST API
  • Change in Jira configuration, eg. set email notifications settings - No, not project permission, you need to be Jira admin and it looks like there's no endpoint for this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.17
TAGS
AUG Leaders

Atlassian Community Events