Trigger:
When the Project issue type is transitioned to status DONE
Action:
Edit the Project Start Date and Due Date according to the earliest start date and last end date of the Epic.
The link type is custom, also. It is called Timeline
More detailed info, see video -
It might be as simple to use "issueLinkType = Timeline" in the lookup action.
Would that help you further.
This as I see you use linked issues and not Jira Plans hierarchy, then you would be able to use the "Parent" field.
The parent field always was in the system in Jira Plans (Jira Advanced Roadmap) is available.
The field Epic Link has been migrated to this Parent field as well. Epic Link has been depricated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you provide me the JQL in the lookup, according to the error in the log it seems not to be correct.
What are the in- and outbound references fro the link Type Timeline, are they timeline for both or do they differ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I look at it again:
JQL could be: type = Epic and LinkType = Timeline and "Start Date" is not empty.
There is no need for smart value trigger issue in the lookup in my opinion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"issueLinkType = Timeline" = {{triggerIssue.key}} and "Start Date" is not empty
video explanation - https://www.loom.com/share/e83c3187c7a54ba8ad2dac52f8de3257
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just replied before you.
JQL could be: type = Epic and LinkType = Timeline and "Start Date" is not empty
Or another option key = {{trigger.issue}} and LinkType = Timeline and "Start Date" is not empty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not working. Can you send me a SS how the whole should look like?
This is what i got
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Replace LinkType with issueLinkType.
LinkType is an option from an app on my instance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then try the other JQL I provided:
key = {{triggerissue.key}} and issueLinkType = Timeline and "Start Date" is not empty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Complete other option.
Before the lookup, create a variable. Give the variable a name and use as smart value {{triggerIssue.key}}
Then in your lookup perform the JQL as follows:
issueLink = {{variable-name}} and issueLinkType = Timeline and "Start Date" is not empty
Add a log action to log the result of the lookup, log action should contain only: {{lookupIssues}}
This should present the linked issue keys.
The do the edit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Petar Cvetanovic I wouldn't be able to immediately answer your question, but I just wanted to say that I love the fact that you made a Loom video to provide context to your question, well done!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.