The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
How can I set the "Target Release" field using the Atlassian Java API - jira-rest-java-client-core (v: 5.2.1) ?
This field within the UI to create an issue appears as a custom field
<div class="field-group" >
<label for="customfield_12311240">Target Release</label>
<select class=" select" id="customfield_12311240" name="customfield_12311240" data-remove-null-options="true">
<option value="-1" selected="selected">Unknown</option>
<optgroup label="Unreleased Versions">
<option value="12345960">2.3.0.GA</option>
<option value="12346085">2.2.8.GA</option>
<option value="12346388">2.1.15.GA</option>
</optgroup>
...
</select>
<div class="description">Target release this issue is proposed/approved to be solved in.</div>
</div>
We can create an IssueInputBuilder using the following code
IssueRestClient cl = restClient.getIssueClient();
IssueInputBuilder iib = new IssueInputBuilder();
iib.setProjectKey("ENTSBT");
iib.setSummary(release.getTitle());
But now, How can we set the field "Target Release" ? Using "setFieldInput(new FieldInput(" ?
Regards
Charles
Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events