Hi,
I am trying to pre-populate the URL field of a Jira ticket from a value I set in the URL.
For instance, I can use https://companyA.net/servicedesk/.../create/111?summary=test to pre-populate the summary field. I want to do the same but with the URL field but https://companyA.net/servicedesk/.../create/111?URL=www.example.com does not work. Does the URL field has a different API name maybe or am I doing something else wrong?
Hi @Simon Fischer ,
Welcome to the community.
What you need to do is find out what the custom field id of the URL field is.
Once you have it, you can use:
https://companyA.net/servicedesk/.../create/111?summary=test&customfield_12345=www.example.com
Good luck!
Note 1 if you need to find the custom field id, just go to an existing issue and use this in the url:
https://companyA.atlassian.net/rest/api/latest/issue/<ISSUEKEY>?expand=names
Then search for URL and you will find something like:
"customfield_10335": "url",
That is your custom field id.
Note 2 You need to prefix the URL with https:// if you have used a URL field, if it is a normal text field, then it does not matter.
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.