No, I don't. I know I have to add this field to my screen. However, here is something interesting from the JIRA Cloup API documentation:
Apps are not allowed to access this REST end point to retrieve all screens however, Apps can modify screens. The most confusing case here is that to modify screen via API I have to provide screenId, but I don't have screenId because apps are not allowed to retrieve them.
I've found that theoretically I can add a field to screen by using Update Issue endpoint:
To do that I have to pass query string parameter overrideScreenSecurity=true. This parameter allows update of the fields that are hidden from the issue’s Edit screen. Only Connect add-on users with admin scope permission are allowed to use this flag. And I do have admin flag in my add-on. Nevertheless, when I include overrideScreenSecurity to my request I'm getting 401 - Not Authorized.
To put it in a nutshell, to create an issue with time tracking via Cloud API I have to send at least two requests: first to create an issue, second to update timetracking field, which is doesn't work :(
Do you think you can help me that?
Thanks @Jens Kisters. Here is a full discussion https://community.atlassian.com/t5/Jira-questions/JIRA-Rest-API-Create-Issue-with-Time-Tracking/qaq-p/813595#U813634
I think I've found at least two bugs in JIRA Rest API, do you know where I can post a ticket about it?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs