Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a way to pass reporter field for anonymously created ticket Edited

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.

  1. Add the Anyone group to the Create Issue permission in the permission scheme for the project.
  2. Set the Reporter in the project's field configuration scheme to optional.

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.

1 answer

0 votes

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)

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you