Forums

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

How can i get epic name (if the user doesn't have privileges to see it) for issue?

Mari S
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 24, 2019

I'm using jira's python API to build standalone app which gives the current user general info like assigned issues and details about them.

I'm iterating through the issues, and for each issue i'm retrieving the needed customfield value that returns the key for the epic.  

Then using the key for the epic i get the epic name. ( i can't do this step because the user doesn't have privileges to see the epic)

Is there another way to get the epic name for the issue?

Thank you.

1 answer

1 accepted

0 votes
Answer accepted
miikhy
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.
June 25, 2019

Hi @Mari S ,

Welcome to Community!

First of all, your approach is perfect besides the permission issue :)

In that case, I would recommend you to use a custom field to store the Epic Name and use a 3rd party App to set that field (either a script App such as Script Runner or an automation/workflow App such as Automation for Jira or many others).

That would allow you to "hardcode" the Epic Name and make it available for external queries with the limitation of being pretty complex to manage when Epics are renamed etc...

An alternative would be to run the report/query in Python with a privileged user who can access those Epics (can be a specifically designed account for those requests). That would be the easiest way as long as it's not seen as a security breach!

Let us know if it helped!

Cheers

Mari S
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 1, 2019

I'm glad to be here!

Thank you for your suggested solutions, we decided to create account which has access to the Epics.

Thank you for your help!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events