I want to set a reporter on a jira ticket different than the one submitting the ticket. I have tried:
"reporter": { "id": "........" }
and
"reporter": { "name": "......" }
but it does not seem to be working. Is this the wrong approach?
Hi
This has very little to do with ConfiForms, as it is about Jira REST API and how to use them to create Jira issue and set the reporter
The answer is - it depends. Do you use it on server or cloud, but it was answered many times in the community
Quick search (cloud Jira) - https://community.atlassian.com/t5/Jira-questions/Create-an-issue-with-rest-api-set-reporter-name/qaq-p/1535911
(server Jira) https://community.developer.atlassian.com/t/proper-way-to-set-reporter-system-field-via-create-rest-api/41399
Alex
I don't have access to creating jira from Rest API, so I was wondering if there is a confi form equivalent using the Jira Create form definition?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ConfiForms uses (underneath) Jira REST APIs to create Jira issues
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry I am still a little confused, how would I call the API? Do I do it inside the form or externally etc... I haven't used this before, so I am not sure as to how I am suppose to go about it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, where have you tried the approaches you have described in the initial question?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want to put it in the IFTTT Integration Rules with event = onCreated and the action is to Create JIRA Issue. I have a field for "reporter = {id: "name"}". Is that enough information?
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.
Sorry, I don’t understand the context of your question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want a user to fill out a confi-form in confluence that will create a jira story, but the reporter will be someone else. I don't want the person filling out the form to be set as the reporter of the story, but rather someone else on the team. The way I have it currently setup is:
{
"fields": {
"project":{ "key": "XMEN" },
"issuetype": { "name": "Story" },
"summary":"stuff",
"components":[{"name":"..."}],
"customfield_26912":{"value":"Functional"},
"customfield_19600": "2098",
"reporter":{"id":"username"},
"description": "setting reporter"
}
}
But this doesn't work because "reporter" is giving me an error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What error it is giving you and where have you found the format for reporter field as you have, using the "id" ?
According to https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/ the user picker field is set as
{ "name":"username" }
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the error I get when I use "reporter":{ "name": "username"} or even "reporter":{ "id": "username"}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can "google" this error really - it is the most common error you can have... and it happens when you attempt to set a field that does not exist in the issue create screen for this particular issue type and project
The field must be VISIBLE on the issue create screen
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.