Forums

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

groovy script for concatenating the summary and created date of a ticket?

Michael
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 Champions.
March 12, 2020

Hi again everyone,

I'm a new user of groovy, and I'm trying to learn its ins and outs but even this simple task has me stumped... I'm trying to concatenate a subtask's summary with it's created date.

 

From what I've read in Jira documentation / groovy documentation I'm using the following:

String summary = "issue.get("summary")" + " - " + "issue.get("created")

 

Can someone please help me understand what I'm doing wrong?

 

Thanks,
~Mike

2 answers

0 votes
Nick Weber
July 9, 2015

Thanks, Boris. This is helpful. When we update JIRA Agile, will we be able to get a new 30-day trial license (or will our existing trial license be able to be applied to this update)?

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 Champions.
July 9, 2015

The existing one will continue.

Nick Weber
July 9, 2015

Got it - thanks for your quick responses!

0 votes
Boris Berenberg
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 Champions.
July 9, 2015

Your trial license will work just fine. Your JIRA Agile version will not. Take a look at: https://marketplace.atlassian.com/plugins/com.pyxis.greenhopper.jira/versions for version compatibility information. Basically you will just need to upgrade and then update JIRA Agile. We always recommend doing this in a test environment before doing it in production. Instructions on setting up a staging environment can be found at: https://confluence.atlassian.com/display/JIRA/Establishing+Staging+Server+Environments+for+JIRA

Suggest an answer

Log in or Sign up to answer