Hello everyone,
I'm trying to create a post-function by using set issue fields option.
I have to reach fields of linkedissues of current issue.
I have successfully tested jql like below
But I cant reach a field of targetIssues. I have tried this
Although description of target issue is not empty, I cant see the result.
Could anyone help?
Thanks,
Aslihan
Actually I have solved it :D I had to use dump filter.
{{targetIssue.fields["Total Budget"] | dump }}
But thanks @David Fischer
Can you describe what you are trying to achieve? And share the post function configuration?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I have 2 different types, SAT and Demand,
Demands are linked to one SAT through "relates to" relationship.
In Demand, I have a number field "Budget",
In SAT, I have a number field "Total Budget"
I want to sum "Budget" fields of all linked Demands and write the result to SAT's Total Budget field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Aslıhan Paksoy ,
and when do you want to calculate that sum? During a transition? If so, of which issue, SAT or Demand? Or in an event-based action?
In any case, the Target Issue(s) setting is not meant for that, it's meant to identify which issues will be modified by the post function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes @David Fischer , during a transition. I want to modify SAT's, I want to edit Total Budget field of the SAT. So I think target issue is perfect fit for this case?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It depends on which issue is being transitioned. SAT or Demand?
If it is a Demand transition, then my understanding is that you then want to recalculate the Total Budget of the "related to" SAT (the "parent" SAT if you like), which will sum the values of the Budget field in all Demand tickets that are related to the "parent" SAT.
Is that what you're trying to do?
In that case, can a Budget be "related to" more than one SAT?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you wrote perfectfully, this is what I'm trying. Demand is being transitioned.
And no, there is a one to many relationship between Demand and SAT; a demand can be only linked to just one SAT however, many Demands can be linked to the SAT.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The last question is: did you rename one of the "directions" of the "relates to" link type (on the Issue Linking admin page)? Otherwise it creates an ambiguity between the two directions, which are both called "relates to" and you won't know which one to pick. Can you rename one direction to "is related to"?
I'll then provide guidance on how to configure the post function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, I havent renamed it but I !m changing right now!I will be glad if you help me thanks :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.