Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,913
Community Members
 
Community Events
168
Community Groups

Scheduled FixVersion & Epic Creation Linking

Edited

We have a Scheduled cron expression (0 15 3 ? * MON-FRI) setup to create a FixVersion and Epic (0 20 3 ? * MON-FRI) every morning. What I'm having trouble with is linking the newly created version with the newly created Epic.

I've tried both 'next unreleased version' and 'last unreleased version' options on the Epic FixVersion field to see if I can get the field to set on the Epic, but nothing happens.

One thing I have noticed is that on the create of the fixversion, the release date isn't being set which may be the culprit. I've tried to set it multiple ways but it never gets populated:

- Leaving as blank (as it states should populate todays date but does not)

- Using the format recommended (format: yyyy-MM-dd) does nothing

- Formatting like the field displays in Jira {{now.format("dd/mm/yy")}} also does nothing

Any help is greatly appreciated!

setReleaseDate.JPG

releaseDate.JPG

2 answers

Solved this with using JSON below in case anyone else is trying to do this:

 

{
"update": {
"fixVersions" : [
{
"add": {
"name" : "{{now.format("MM/dd/yyyy")}}"
}
}
]
}

Was able to solve the issue to populate the Release date now by using this syntax:

{{now.format("yyyy-MM-dd")}}

Still no luck in getting the Epic FixVersion to populate using 'last released version' or next unreleased version'.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Atlassian Automation

Jira Automation: Sum Up Story Points Roundup (Initiatives -> Epics -> Story/Tasks -> Subtasks)

Hi Everyone, In this roundup we combine all the jira automation rules to sum up story points across different issue types. We start from the lowest level, summing up story points from sub-tasks t...

3,100 views 10 9
Read article

Atlassian Community Events