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

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 Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

125 views 1 2
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