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
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!
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.