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.
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
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.