Forums

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

How do I select issues in the issue picker that I don't have permission to see

James Lebron
Contributor
September 25, 2022

Hello, community.
I have a field of type issue picker with currentJql set. But because the issue security level is configured in my project, the issues queried by currentJql will filter out what I can't see.
I have a request now, I hope that I can select the issue that is filtered by permissions, after completion, I don't need to see all the content of this issue, I just want to show his summary.
Excuse me, can this be achieved using fields of type custom picker provided by ScriptRunner? Or, what should I do

3 answers

0 votes
Juliette Lallement _Elements Apps_
Atlassian Partner
September 25, 2022

Hi @James Lebron 

Elements Connect allows you to configure an issue picker based on a JQL query of your choice.

It's really simple and takes no code at all.

Feel free to contact me if you need more information or have any questions (I am the Product Manager of Elements Connect)

PS : thank you @Florian Bonniec for the endorsement!

0 votes
Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 25, 2022

Hi @James Lebron 

 

There is no way to achieve this using JQL as JQL respect permission, so if a user do not have permission to use it it will not be returned by the JQL then not available in the list.

If you just want to have a list of issue key and summary for instance but don't actually want to select the Issue Object itsefl I used to use the App Elements Connect with a field that populate value from JIAR database using a SQL query.

You should be able to do it with Scriptrunner now, the UI is less user friendly than Connect but you seem to already have Scriptrunner.

https://scriptrunner.adaptavist.com/latest/jira/script-fields/database-picker.html

If you need to link the selected issue or what ever, you should be able to manage to script something with a listener or automation for JIRA.

 

Regards

James Lebron
Contributor
September 25, 2022

Yes, I think you understand my question.
For my core issue, I just want to get some information such as the summary and Id of the issue, I don't want to get the issue object
I'm going to try from the advice you gave

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.
September 25, 2022

No you won't be able to do this.

The whole point of the security and permissions that stop you seeing an issue is that you don't see the issue.

James Lebron
Contributor
September 25, 2022

Hi, I didn't mean to see the information of this issue.

I hope to use the custom picker field provided by ScriptRunner, relying on rest api, to assemble the summary of all issues of a current project into an option list selection, and return the options to this custom picker field.
I don't know what I'm saying, do you understand?
Now, I'm not very good at writing code like this.

Suggest an answer

Log in or Sign up to answer