I am using C# and creating issues for our test system.
The issues are test results for our automated test system.
If the test point fails and we already have a bug registered for the test point I want to create the issue as "Status = Resolved"
I tried adding this to the JSON message and it did not work.
For example:
{ "fields" : { "status" : { "name" : "Resolved"}, ... } }
Is it possible to create an issue and mark it resolved at the same time, as above?
If no, what is the best way to achieve this?
Community moderators have prevented the ability to post new answers.
The JIRA JSON Importer can set the resolution field in issues that it imports. But usually the resolution field (not Resolved) is not on the edit or create screen for an issue (and it should not be there). You could create the issue and then change the status using the appropriate REST method. More information at https://answers.atlassian.com/questions/107630/jira-how-to-change-issue-status-via-rest
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.