Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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.

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
Site Admin
TAGS
Community showcase
Published in Jira Software

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

598 views 21 25
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you