Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jenkins integration with Jira server

Hello,

 

I want to integrate Jenkins with Jira server. When i googled for the same, I found Jenkins integration with Jira cloud: https://confluence.atlassian.com/adminjiracloud/integrate-jira-cloud-with-jenkins-972355471.html  

I am not sure if process mentioned in the above link can be followed to integrate Jenkins with Jira server. 

I am trying to create an issue based on the Jenkins build, for that i first need to integrate Jenkins with Jira server.

If any one knows the steps to integrate Jenkins with Jira server, Please help me.

 

Thanks,

Sharan

1 answer

0 votes
Andy Heinzer Atlassian Team Apr 22, 2020

Hi Sharan,

I understand you want to integrate Jira server with Jenkins.  However the documentation link you posted is specific to Jira Cloud.  Those steps won't work with Jira server versions.

Instead, I'd recommend checking out the Marketplace applications for Jira server regarding Jenkins.  There are a number of different options there that should be able to help you with this kind of integration.  Some of these have a cost, while others such as Jenkins Utils for Jira appears to be a free app provided by that vendor.  They also have a Quick start FAQ for setting up this integration.

Depending on which solution you choose, the steps to integrate Jenkins with that add-on will be solution dependent.

I hope this helps.

Andy 

Hello Andy,

 

Thank you for the reply. I have configured the OAuth required for Jenkins-Jira server integration from the link: https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-oauth-authentication/#overview i have done it till step 2 and Mentioned the details in Jenkins. When i tried to get(access) the issue from the Jira through Jenkins i am getting the below error: 

ERROR: {"errorMessages":["You do not have the permission to see the specified issue.","Login Required"],"errors":{}}
Finished: FAILURE

 I can see that i am unable to login to the Jira. I don't the root cause of it. should i perform step3 and 4 in the above link or is there something i am missing?

 

Please help.

 

Thanks,

Sharan

Andy Heinzer Atlassian Team Apr 24, 2020

Which platform are you using Jira on?  Is this Jira Cloud or Jira Server?  I ask because you linked to Cloud version of that document, but this particular issue has a server tag on it.  So I am confused about which platform Jira is using here.  There is a different guide for using OAuth for Jira server.  If Jira is the server version, then you might want to try to follow the steps in https://developer.atlassian.com/server/jira/platform/oauth/ instead.

If this is Jira Cloud, then yes, you will need to complete steps 3 and 4 of that first guide in order to be able to make these kinds of requests.

Sorry for the confusion, I am using Jira Server and thank you for the OAuth link. I was able to successfully configure OAuth credentials with the link i sent, i didn't follow all the steps though.

Now, I am facing to another issue. Whenever i shut down or restart my system i cannot access Jira server at: http://localhost8080 on my system. It says "This site can't be reached". I don't know if this issue is due to some to Jira or due to my system settings.

Please help me resolve this issue.

Thanks

Sharan

When i checked Catalina.log it says: "Could not contact [localhost:[8005]]. Tomcat may not be running." 

Andy Heinzer Atlassian Team Apr 28, 2020

Hi Sharan,

It might be better to start a new question since this appears to be a completely different problem from the original post.  That said, Jira has a couple of different ways you can start it, and these vary based on your host operating system.

Port 8005 is the control port that is used to start/stop the application.  However that is not required to be able to use Jira, it just helps to facilitate smooth and controlled shutdowns.  For that reason I think we should ignore that detail for the time being.

If your $JIRAINSTALL/conf/server.xml has a connector bound to port 8080, then that's the port you would expect to connect on for web traffic.  I recommend checking out Start and Stop Jira applications.  It covers both Linux and Windows systems on the ways in which you can start and stop the application. If Jira is not being started as a service, then I don't expect Jira to start when the operating system starts up.

Try the steps on that page to start Jira.

Regards,

Andy

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

168 views 6 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you