how to build an input selector which give me all my project and i can select a Jira Project from a drop-down in connect app
Hello @idan farbman
It's Christmas, and I know you don't want to hear bad news, but the same question you posted over in the Developer Community is highly unlikely to get a response. That forum is where commercial software developers discuss specific technical problems or get updates on major changes to the platform architecture or development tools... it's not a programming school with teachers who will provide you with examples and lessons.
The best place start your journey developing applications for Atlassian's products is by going to the Atlassian Developer site, finding out about the different frameworks and supported languages, then follow some of the countless 'how to' tutorials, and download some sample applications and try some experiments yourself.
PS. If you are going to be developing for Atlassian's Cloud platform, you really should be using Forge instead of Connect.
Welcome to the Atlassian Community!
Jira has a "project picker" field already. You could reuse that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
were can i find it ?
and if i want to know how to build on my own?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Log into Jira with an account that has administrator access, then go to Admin -> Issues -> Custom fields -> create new field -> all, and "project picker" will appear in the list
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why do you want to duplicate the functionality? Why can your app not use an existing function?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why can your project not use an existing custom field? What are you trying to do?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
im trying to develop an app and i need to know how things work to create some new features
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We can not help you without understanding the context in which you want to duplicate this field functionality.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i started to work in a new company that develop jira connect app and i need to learn how to develop features. that way i asked how to build, for an example to me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As you appear to have also posted this question in the Atlassian Developer Community, I recommend waiting for the response there. That location is more likely to provide application development suggestions.
https://community.developer.atlassian.com/t/how-to-select-a-jira-project-from-a-drop-down/75764
While waiting, you could also perform a web search or look in the getting started documentation for Connect.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The way you would need to write a "project picker" differs by how you are going to write it.
Also, between how you would do an app for Server/DC and Cloud, but as you mention Connect, I suspect you are coding for Cloud, which still leaves us with the questions:
Before we can begin to answer the question, you need to tell us what the context of the field is going to be.
It may be that the best answer to that is to give us the related part of the user story. For example, "my app will enable people to create issues, so I want to let them choose a project".
Both Connect and Forge have functions for that already, and it's one line of code within Jira scripting apps, so taht example is probably not going to be what you're looking for. But without knowing the story, we can't really help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i just need this "one line of code" , the app do nothing right now, its just for study purposes.
i just want to create field that show list of Existing projects
what is the syntax for the html, js, rest API on the client side
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.