I have two service requests, each under a different portal group. Is it possible to query which portal group was used when the issue was created? I would like to set a field with automation for issue in different portal group.
Hi @flim
In JQL you can do it easily by searching for 'request type', you will see the portal behind the request you are searching for. Here you see 'Get IT Help' for four different projects.
Ah, I misinterpreted your question. Don't the requests have different names? If not you can use the ids of the requests. If that is not good enough and you want to use it in automation you can use:
{{issue.Request Type.requestType.groupIds}}
This give you a list of the groupIds where this request type is used.
If you use the same request in different groups there is no way to identify if it has been created via one or the other group. (It should not matter, imho).
But if you do want to show the same request and identify them in different groups, you need to copy the request type and place each in a different group.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>If you use the same request in different groups there is no way to identify if it has been created via one or the other group.
In that case, there is no way to know the requests come from which portal group. Thank you for the answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @flim
You can try the following workaround.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @flim
Custom Field context, is a best practice to any custom field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not quite understand the meaning of manually include in the list all "group" options.
Do you mean that I have to setup like this?
1. If I have two groups in portal, I create two "Request Group" custom fields
2. In each custom fields, I add the group name in context
3. Create two request type and add the custom field of different group to the request type respectively, hide the custom field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @flim
Steps to take.
https://support.atlassian.com/jira-cloud-administration/docs/configure-custom-field-context/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That will work if I have different request types in different portal group.
But I don't think it will work if I have only one request type assigned to different portal group? As I need to pre-select the value in the request form.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @flim
No, then it won't work.
Then you will have to duplicate your request types.
As mentioned this is a work around, as there is no JQL for portal groups.
So it depends on how hard your requirement is to have this info, if you want to implement this work around.
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.