You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have 2 fields, BA Department and URL Capacity Calculation.
How do I do it,
when I select the value "IT BA Corporate Function" from the BA Department field, the value of the URL Capacity Calculation field will automatically change to "https://jira.btpn.skyfencenet.com/wiki/spaces/MI/pages/3960931426/IT+BE+Corporate+Function+-+Resource+Capacity+Calculation"
I have tried the following method, but the result is not showing
I've tried removing the "https://" but it still doesn't work
Can anyone help me?
Where did you add that post function? Are you sure it's actually running when it needs to? Did you check for errors (on the summary of the post function)?
And when you say the result is not showing, what she's it mean?
Where did you add that post function?
>> from status A to B
Are you sure it's actually running when it needs to? Did you check for errors (on the summary of the post function)?
>> when I checked, there is no error information appeared
And when you say the result is not showing, what she's it mean?
>> The result should appear on the View Screen (yellow highlight, under the BA Department field)
is there something wrong with my query @David Fischer _Appfire_ ?
or is there a character missing from my query? :(
as additional information, I used a custom field (single list/choice) for the URL Capacity field:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you "test" the Nunjucks template (using the "test Nunjucks template" button) against an issue to make sure the correct value is returned?
What is the type of the BA department field? And of the url capacity calculation field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you "test" the Nunjucks template (using the "test Nunjucks template" button) against an issue to make sure the correct value is returned?
>> here's the result:
What is the type of the BA department field? And of the url capacity calculation field?
>>
BA Department field =
URL Capacity Calculation field =
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As you can see, testing the nunjucks template against an issue returns an empty string instead of the appropriate value. This means that the values inside the case statements are probably not exactly the value selected. It could be a case issue (upper vs lower case) or a trailing space in the single-select options. To check the exact value of the BA Department field, you can test this against the issue:
*{{issue.fields["BA Department"].value}}*
and copy the value between the asterisks (including any leading/trailing spaces)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sorry for the late reply,
and thank you very much for all your feedback!
Now it's working properly
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.