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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • 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

How to Get EpicID of an IssueID


I was trying to fetch the EpicID of an IssueID.  I used the /rest/agile/1.0 JIRA API to fetch the EpicID as mentioned in this link . However, it throws a 401 Authentication error. But, when i just use the /rest/api/2 JIRA API it does not require any credentials and i am able to fetch the data from the rest api. The api 2 does not have details about an issue's epicId.

If i pass in my credentials to the agile api then i am able to retrieve the epicId for an issue. Is there a way to retrieve the epicId for an issueId without having to pass credentials to an api


1 answer

Hello, authentification is needed to acces information in JIRA

JIRA's REST API is protected by the same restrictions which are provided via JIRAs standard web interface. This means that if you do not log in, you are accessing JIRA anonymously. Furthermore, if you log in and do not have permission to view something in JIRA, you will not be able to view it using the JIRA REST API either.


Thanks for the quick response. I am unable to access the agile/1.0 API. However, i am able to access api/2 without authenticating.

I could get the Epic Link using the Jira Client using the AnonymousAuthenticationHandler. I was thinking if there is a  way to do it using the API?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

4,116 views 5 15
Join discussion

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