Forums

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

Prohibition to view tasks of other projects through a filter

Ivan Konchakovskiy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 26, 2023

We have many projects in our Jira. Some of them are confidential. It turns out that even though the user doesn't have access to the project, he can find tasks and view them using the jira filter. Is there any way to fix this?

2 answers

1 accepted

1 vote
Answer accepted
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 Champions.
October 28, 2018

Hello,

What do you mean by "project specific single select"? If you want to have different options for different projects, then you should create a field context for this project. You can find more info here:

https://confluence.atlassian.com/adminjiraserver071/configuring-a-custom-field-802592532.html#Configuringacustomfield-contextContext

Go to the Context part.

linga T
October 28, 2018

Project-specific is one of the custom field type. I am trying to change existing single select custom field type to this field type without creating new field. Is there any way to do this by script runner  or any other options

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 Champions.
October 28, 2018

Is this field type from a plugin? Anyway, you should create a new field and then copy all data from the old field to the new one.

linga T
October 28, 2018

Yes it is from plugin. Do we have any option to convert the existing field. Without creating new field?

linga T
October 28, 2018

If we are creating new field and moving the data to new field means do we have any script or any option to copy the data from old field to new field?

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 Champions.
October 28, 2018

There is no way to do it via UI. The best way to use Jira API to copy values from the old field to the new one.

linga T
October 28, 2018

Can you please give a sample code or procedure. Thanks in advance.

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 Champions.
October 28, 2018

You would need an add-on for it. For example, Power Scripts add-on:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview

You could write a script like this:

string jql;
jql = "project = ProjectKey";
string[] issues = selectIssues(jql); for(string iss in issues) {
  %iss%.customfield_10101 = %iss%.customfield_10102; }

 10101 is the id of the new field and 10102 is the id of the old field

0 votes
Radha Kandimuthu
Contributor
October 28, 2018

The exact scenario which am looking for.

But, I also got the same response that we can't change the existing custom field type to project specific type.

Not sure. Why. Supposing we don't have possibility to do so in UI without creating new filed. Even in DB also not possible.

Can anyone please confirm or suggest some idea why we can't do with that.?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events