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

Need API link for Customers

Hi All,

         I am having a hard time finding the API link for customers in JiraAlign.

For example in our instance: The first one for users works whereas the second one for users doesn't work.

  1. https://myinstance.jiraalign.com/api/users (This works)
  2. https://myinstance.jiraalign.com/align/api/2/users (doesn't work)

Similarly, I am trying to find the working link for Customers. When I use the similar as the first one from above it outputs an error.

 

The link I'm trying for Customers: https://myinstance.jiraalign.com/api/customer

The error I'm getting: "Message": "No HTTP resource was found that matches the request URI

 

Any help here is appreciated.

 

Thank you,

Manoj

2 answers

1 accepted

1 vote
Answer accepted

Try this ...note the bolded text "rest"

https://mycustomer.jiraalign.com/rest/align/api/2

NOT

https://mycustomer.jiraalign.com/align/api/2

Hi @Allan Maxwell ,

                               Even this link is not working for me. Please see the screenshot.

I am using this link : https://ncrengtoolstest.jiraalign.com/rest/align/api/2/usersCapture75.PNG

 

Thank you,

Manoj

The API2 is not on by default, so you would need to turn that on using a Master Toggle ...that's my best guess.

Hi @Allan Maxwell , It's already enabled but still not able to access the data.

Also, FYI first URL doesn't work whereas the second works.

  1. https://ncrengtoolstest.jiraalign.com/rest/align/api/2/users
  2. https://ncrengtoolstest.jiraalign.com/api/users

MicrosoftTeams-image (9).png

Thank you,

Manoj

If I use PostMan then https://ABC.jiraalign.com/rest/align/api/2/users works fine.  If I just paste it into a browser URL bar, I get the same error that you are getting.

Hi @Manoj Kumar 

There you go with the endpoints for these objects (and corresponding DTO schemas):

  • /align/api/2/Customers
    • AgileCraft.Services.Models.Customers.CustomerDto
  • /align/api/2/Users
    • AgileCraft.Services.Models.Users.UserDto

You can find all available endpoints by browsing to your instance's Swagger:

Notice that authorization is based on the authenticated user when Jira Align REST APIs are called.  User privileges, such as data and page access, via the REST APIs are identical to privileges in the interface.  For example, if a user's system role provides read-only access to epics in a single portfolio, the user will not be able to create or update epics with the API, and will only be able to read epics from the single portfolio.

Hi @Rodrigo Cortez ,

                                  The URLs don't work for me this is why I'm checking if I am doing wrong here. Attached the screenshot.

Also, I am super admin in the tool so it's no issue with the permissions.Capture74.PNG

 

Thank you,

Manoj

Hi @Manoj Kumar ,

/align/api/2/Users and /align/api/2/Customers are API 2.0 endpoints, not regular web pages that one can browse to.

Browse to your Swagger page https://ncrengtoolstest.jiraalign.com/rest/align/api/docs/index.html and, once authorized, you'll be able to try out all of them from there.

Screen Shot 2021-05-19 at 08.57.05.png

 

Please review this getting started article for information on how to create & user a bearer token in Swagger.

Suggest an answer

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

Helpful hints if you're rolling Align out to your entire enterprise

(Or, What to expect when you’re expanding.) Once you've completed your Jumpstart, or your initial assessment of Jira Align, you'll start to think about how you can roll it out to the rest of your e...

1,346 views 3 28
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