Forums

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

How to use the releaseDate function for a specific day of week

Ron L
Contributor
August 14, 2017

Hello, I'd like to use the JQL function releaseDate to target a specific day in the week, for example Tuesday of the current week without having to specify a specific day.  This is used to dynamically populate a dashboard that shows all the issues scheduled for release on each day of the current week.

Basically, I want to write the equivalent of:

fixVersion in releaseDate("after startOfWeek('+1d') before startOfWeek('+2d')")

 

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Craig Nodwell
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.
October 7, 2022

Hi @Niklas Kordasch I think this post might have your answer.

Niklas Kordasch
October 10, 2022

Hey @Craig Nodwell thank you. 

My SQL query does not seem to close. I set the label with the LabelManager, which does not access the query.
The query runs without the LabelManager without problems.
Without the query the LabelManager also works.

There should be query and LabelManager working independently.

Current exception:
org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:870)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:707)
at jdk.internal.reflect.GeneratedMethodAccessor118.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
at com.sun.proxy.$Proxy82.commit(Unknown Source)


Thanks for your help,

Niklas

TAGS
AUG Leaders

Atlassian Community Events