Forums

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

Populating the issue type list dynamically based on the selected board for a JIRA Project

Gowri_Sankar
Contributor
October 22, 2019

Hi,

We are trying to achieve a result where we should be able to limit the  create issue type list to only one value and making it as a read-only field depending upon the selected board from the JIRA Project on clicking the create issue. We're currently using Jira 8.3.2. Any Suggestions?

 

Thanks in advance.

3 answers

0 votes
John Funk
Community Champion
October 23, 2019

Hi @Gowri_Sankar Issue Type list are part of an Issue Type Scheme. And the Scheme is attached at the project level. There is not way to make the list dynamic at all. 

So, one suggestion would be to default to the one you want used in the Issue Type Scheme. And then put a validator on the Create transition in your workflow to not allow the issue type to be any of the other types. Clunky, but that should work. 

0 votes
Nic Brough -Adaptavist-
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.
October 23, 2019

The list of available issue types is determined by the project you are creating the issue for.

Boards are a view of a selection of issues, they can't determine what you can create.

Gowri_Sankar
Contributor
October 23, 2019

Hi @Nic Brough -Adaptavist- ,

 

Thank you for the suggestion. In this case, then is it possible to limit the issue type based on the user role logged in and not on the type of boards we choose?

 

Kindly advise.

Nic Brough -Adaptavist-
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.
October 28, 2019

No, the issue type is determined by the project settings.

0 votes
Alexander Ling
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.
October 22, 2019

Hello @Gowri_Sankar

What do you mean with "issue type list"? I don't know if you mean a list where you can select different options that it is in a screen or change fields depending on what screen you want. It is however not possible without any plugins (to my knowledge atleast) to dynamically change these things based on what board you are using.

You could however change the content of a screen by connecting it to different issue types. What I mean by the last sentence is that you can make stuff unique on an issue type basis, not between boards.

The list content is more difficult, since a list only can have a single context on a project basis. So it's not possible to have different options in the same project on different issue types. If thats what you want to do, you would have to create additional custom fields or new projects.

If you want some help with showing different fields on a screen, I would recommend checking out https://confluence.atlassian.com/adminjiraserver072/defining-a-screen-828787840.html

if it's regarding list options/content, I would read more about https://confluence.atlassian.com/adminjiracloud/adding-editing-and-deleting-a-custom-field-776636410.html

I hope that this will guide you to solving your issue!

Gowri_Sankar
Contributor
October 23, 2019

Hi @Alexander Ling 

Thanks. Here, the issue type list refers to the (bugs, feature, epic or task) that can be created against each board in a project that appears on clicking create issue. So we are trying to achieve that if we create a issue under board name XXXX, then issue type should display only  Bug and the field should be a read only.

Similarly, if an issue needs to be created for board YYYY, the issue type should be Task by default and should be read only.

Suggest an answer

Log in or Sign up to answer