When a JIRA Issue is created automatically fill in Summary

DanaF January 5, 2016

Is it possible that when you create an issue in JIRA Cloud that a standard Summary is entered? Is it possible to change the value of Summary to Today's Date & a Dedicated variable such as. Jan 5 Final Inspection = Summary.

3 answers

1 accepted

0 votes
Answer accepted
DanaF January 5, 2016

Thanks. Is there a way after they save it (Post Function) to automatically today's date to summary?

Right now I am using a post function of: The Summary of the issue will be set to Final Inspection Issue.

I would it to be:   Jan 5 Final Inspection Issue.


Thanks For ALL the help

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 5, 2016

No, you need code to do anything more than "set value to x", which you can't do in Cloud.

0 votes
Steven F Behnke
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.
January 5, 2016

As far as I know there's no real way to do this in JIRA Cloud.

0 votes
Chander Inguva
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.
January 5, 2016

Yes Dana. Please add the following code on Create transition of workflow

This can be added only if you have script runner plugin installed. Select Custom Script Post Function and add following code.

issue.summary = 'xyz'

 

Regards

Chander Inguva

 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 5, 2016

They're on Cloud, where there is no script runner. And that will fail even if you do. You're setting the summary *after* validation. Summary is mandatory so if the user leaves it blank, it won't get as far as the code. If they do enter something, they're going to get annoyed that you're destroying what they enter.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events