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.
Thanks @Juan Manuel Ibarra , yes i tried this way out, but in my scenio this thing didn't work
It looks like you're new here. Sign in or register to get started.