Hello,
I have a node.js web-app added to jira as user-installed app.
My app has some simple data:
{name: process_1},
{name: process_2},
{name: process_3}
What I need to do is:
1. Add a custom field named "tl_process" to the New Issue jira form
2. Have tl_process field list all the data from my app, eg: "process_1", "process_2", "process_3" as selectable values
2.1 Note: these values should be supplied to jira by my webapp
3. When a user creates new jira issue with tl_process value process_2 for example - my webapp should receive a notification about it. Then I will set my data to:
{name: process_1, active: true}
What would be the best course of action to follow here?
As "your web app should supply the data to Jira", you'll need to define the tl_process field as a label - that's the only field that accepts new content from outside the admin UI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To add options to a custom field, you need to be an admin, and you have to do it in the UI (i.e. in a browser) - there's no REST or remote calls for it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What would be your advice then?
Make a custom add-on for the field? Then we will be able to fill it with custom data programmatically, right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, you would, but an add-on will have to talk to Jira over the REST API, and that does not support it yet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But other add-ons on the Marketplace do have this functionality though!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The only ones I can find don't do it via the REST API.
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.
They implement their own data outside Jira, not amend Jira's settings.
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.