Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to write groovy script for the below requirement (for JIRA server version)

Paras Sachan December 22, 2021

1. Access and Print 10 properties of an issue (due date, assignee, creator, etc)
2. Print issue comments for 5 issues
3. Print issue history events for 3 issues
4. Create 2 custom fields, print values of those fields for 5 issues

5. Access issues sub-tasks
6. Print history events only for status change

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 22, 2021

Could you explain more of what you are trying to do here?  

To do all of these things, search for the issues you want to look at, and look at them - there's nothing you need to script here.

Paras Sachan December 22, 2021

Thanks for the reply.

 

I am trying to do all this by scripting, I know we can achieve all without any script , but if we need a script for all above then how we can do that?

 

These are general requirements , it can fall to any project or any issue. (General format of issue).

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events