Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Jira Rest Api Oauth

I tried to follow this OAuth tutorial to authenticate my .Net core application to use JIRA rest API. I am unable to get the request token. Below are my code snippet. I used Oauth.DotNetCore package and Restsharp to send the post method of the request token but receive 500 response from the server. Not sure how to go from here. Please help. I have attached the screenshot of the snippet of my code and server response.

 

Screen Shot 2019-12-03 at 10.38.44 am.pngScreen Shot 2019-12-03 at 10.32.44 am.png

1 answer

0 votes
Dario B Atlassian Team Dec 05, 2019

Hello @tue2code ,

Welcome to the Atlassian Community!

I may not be the best person to answer this question, however, please notice that you are following the documentation for Jira Server while it is my understanding that you are using Jira Cloud instead.

The documentation for Jira Cloud is the below one  (and it is slightly different than the one for JIRA Server):

Can you kindly review above pages (and code samples) and let us know if you still have issues?

 

You may also want to review the below links since they contain more details and some code samples (not in .Net unfortunately):

 

 

Finally, for the future, please notice that this might not be the best place to get help on development  related questions. In case further help will be needed on this topic, you might want to ask the developers community instead, or open a ticket in the developers service desk:

Hi Dario, 

 

Thank you for the reply. I have manged to solve the problem. Turns out the Oauth version is 1.0 instead of 1.0a. 

Like Dario B likes this
Dario B Atlassian Team Dec 06, 2019

Hi @tue2code ,

Thanks for letting us know. 

Would you mind either adding your solution to a new answer and accept it, or accept this answer, so that the thread will be marked as solved?

Have a nice weekend!

Dario

Suggest an answer

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

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

5,344 views 22 36
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