Create Issue with custom fields using REST API
Basically I want to create an issue using REST API and populate some custom fields of it.
Is it possible?
YT version 5
Is it possible?
YT version 5
Please sign in to leave a comment.
Please, take a look at this REST method http://confluence.jetbrains.com/display/YTD5/Create+New+Issue . It's for
Thank you.
But this doesn't allow me to set Custom Fields. Only some basics like project, summary, description etc. I think.
Yes, it's basicaly reporting an issue. To change every custom field you wish, please take a look at the Apply Command method http://confluence.jetbrains.com/display/YTD5/Apply+Command+to+an+Issue .
All commands that can be applied, are taken from Command Window tool http://confluence.jetbrains.com/display/YTD5/Quick+Start+Guide.+Using+Command+Window .
Your concern is clear. However, YouTrack merges notifications on changes made during a minute, so you will receive a notification with all fields filled.
Are you sure about that? This doesn't work for me as you described. I can receive notification but with custom fields not filled.
After visiting the issue's webpage (before even notification is being send), I can see the custom fields are populated with correct values.
PS Obviously modifying the issue from web UI will create notifications with custom fields populated.
PS2 I'am using YT 5, standalone
In case an issue is reported and then modified by the same user within a minute (no matter by what means: UI or REST), there'll be only one notification. Do you observe a different behaviour?
Regards,
Alexander
Yes, notifications aren't merged when creating issue via REST, from web UI it seems to be working OK.
I think in YT 4 it was working fine, but I can't confirm that for sure as we were using that version just couple of days and then we decided to make an update to YT 5.
The problem you've met, appears because of this issue http://youtrack.jetbrains.com/issue/JT-20491. Please, leave your comments and votes.
It'll be fixed in next releases.
Thank you.
PS Between 10 and 26 August I will have only occasional access
to my e-mail.