Hello team,
I am trying to create JIRA issue though python with out authentication. But JIRA work space should know who has raised the ticket.
I have done below things to create ticket anonymously.
Payload:
{'fields': {'project': {'key': 'TEST'}, 'issuetype': {'id': '1'}, 'reporter': {'name': 'ADSID'}}}
Error:
{"errorMessages":[],"errors":{"reporter":"Field 'reporter' cannot be set. It is not on the appropriate screen, or unknown."}}
Is there any way to achieve this by passing reporter field in payload or please suggest me how to achieve it.
Now I have only my ADS Id not password or oAuth credentials.
Please though some suggestions to overcome this issue.
Hello Balaji and welcome to the Community!
You have a solid understanding of how to setup API calls to create issues within Jira, well done. The error you’re reporting is due to the reporter not being present on the issue create screen (Thus the error of “its not on the appropriate screen"). You will need to add the reporter field to the issue create screen to be able to make your listed API call.
To find out more about field behavior, please see Specifying field behavior.
I hope this helps give guidance to your issue along with a path to move forward.
Regards,
Stephen Sifers
@Stephen Sifers Even when I have the Reporter field added to my project screen and I am passing reporter's name as well. Still, it shows error (reporter: Reporter is required)
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.