Forums

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

Jira Service Desk - Create issue in Jira project based on group

nick smet May 15, 2018

F.e. we have a customer for which we have 2 jira projects. On the support desk I added 2 groups, based on which group they make f.e. a bug request the issue has to be created in Project X or Project Y.

 

How can I add a conditional that allows me to separate them? 

 

 

2 answers

0 votes
laralg
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.
May 18, 2018

Hi Nick,

A condition will not be possible but maybe a validation is? The bad thing about this is that they would go throught the process of creating the issue for later get an error message saying they are not able to create an issue there, but at least you can limit the functionality.

 

Regards

0 votes
Alexey Matveev
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.
May 15, 2018

As far as I understand, you want to limit issue types based on user groups. It is not possible.

nick smet May 15, 2018

I'd like to seperate them based on the service desk groups ( see screenshot)Screen Shot 2018-05-15 at 11.59.05.png

Alexey Matveev
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.
May 15, 2018

It is not possible. Here is the ticket:

https://jira.atlassian.com/browse/JSDSERVER-195

nick smet May 15, 2018

Maybe a hack around it but -> is it possible to give a feature a hidden label field and based on that hidden label make the differentiation between the 2 projects like I did in the screenshots?

 

Doesn't seem to work, but maybe I'm doing something wrong.Screen Shot 2018-05-15 at 12.59.29.pngScreen Shot 2018-05-15 at 12.59.17.png

Alexey Matveev
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.
May 15, 2018

I thought you wanted to hide certain request types for certain groups in the Portal. It can not be done in the Portal. But you can change the value of the request type field to the one you need, depending on the user group, in a post function. I think you can do it with ScriptRunner.

nick smet May 15, 2018

Sorry I think there is some confusion in terms, I'm new to this. 

 

So I have 2 groups, both groups have 3 request types. When a ticket is created it should be created in its corresponding Jira project. 

 

F.e. User creates ticket in Group X -> Issue gets created in Jira Project X

F.e. User creates ticket in Group Y -> Issue gets created in Jira Project Y

 

That's why in the above screenshot I tried to add a hidden label field -> to each request type in both groups. I wanted to make conditionals based on these labels. But doesn't seem to work. 

f.e. Group BD Website get the hidden label field 'BDWEB' & Group BD cloud gets hidden label 'BHC'. 

 

So no hiding is necessary based on the user or group, the problem now is the creation of Jira project issues. 

Alexey Matveev
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.
May 15, 2018

Ah, I see. I would avoid this solution. It is not simple to move issues between projects programmatically. Maybe you can use components instead of projects? You can read about components here:

https://confluence.atlassian.com/jirasoftwarecloud/organizing-work-with-components-764478279.html

Suggest an answer

Log in or Sign up to answer