Hi there! I encountered with problem that i can’t get hierarchy levels for issueTypes and somehow distinguish: epic, story, sub-task for users who still use a Jira Server. I need that because we have a users that still use a Jira Server and want to sync their issue types with custom issue type name in our App. Jira cloud rest api has that value and we can sort issueTypes by hierarchy level. Is there any solution to somehow distinguish issue types in Jira server by some uniq identifier ?
What happen to using the name of the issue type? I suppose on server you do get the name of the issue type in the payload? However, I think you can literally build you own unique way using the REST API and get whatever standard you're looking for.
Thank you for response!
The problem is that user can change issue type name whatever he want. For example:
User can change issue type name from Story to Implementation. As result i won't know that this is Story issue type. In my implementation i need that user can pick issue type with hierarchy level 0, it means: Story, Bug, Sub-Task. Jira server rest api doesn’t include hierarchy level property for issue type, only Jira Cloud Rest Api includes.
I want to be sure that user doesn't choose epic issue type and so to be i need somehow to sort issue type by something unique.
Jira Cloud REST API for issueType
Jira Server REST API for issueType
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How about giving the objects the hierarchy you want by mutating it. I know from the example server don't have it but you can always design your app to preconfigure the hierarchy by instructing the user to mention which issue type is higher than the other. i.e You can setup a configure issue type screen that will just show by means of drag and drop the level of each issueType (In the same manner Advanced roadmap does it). That way, you can have a logic you can work with within your app? Therefore, when the user changes from "Story" to "Implementation", within your code you know that story is hierarchy level 0 and Implementation is hierarchy level 1. Just my thoughts on this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nazar Vasylyshyn I am facing similar issue of distinguish hierarchy level of issue types. Can you please share info on this if you have figured out? Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@[deleted] If you restrict your users from editing issue types name on Jira, you can try to implement approach that @Prince Nyeche mentioned above. But in my case, our users can edit issue type name and i may not know which hierarchy level i should set for specific issue type
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.