Hello Team,
I am creating structures automatically using scriptrunner.
Now I want Generated Structure URL should be added to Description.
How we can update Description field in jira.
Please suggest solution for above issue.
Thanks in Advance
Hi Pavan in this link you can see examples for the update of description field
Since Description is a standar field you can use:
IssueInputParameters issueInputParameters = issueService.newIssueInputParameters();
issueInputParameters
.setProjectId(12345L)
.setIssueTypeId("2");
.setSummary("This is a summary");
.setReporterId("joeuser");
.setAssigneeId("otheruser");
.setDescription("I am a description");
.setEnvironment("I am an environment");
.setStatusId("2");
.setPriorityId("2");
.setResolutionId("2");
.setSecurityLevelId(10000L);
.setFixVersionIds(10000L, 10001L);
This is used in issue creation, update, and transitions to specify new or updated values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.