The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello,
Is it possible with a jira automation rule to get a jira project property? You specify the project property key and you get the project property value. I already searched in the available smart values but didn't find anything.
Thanks
Hi @Luc Noppen
You can read the entity properties, as is shown here for issues: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--issue.properties--
For a project property, it would be:
{{project.properties."myPropertyName"}}
The key is context...if the trigger is for a project, use above. If instead it is for an issue you might need to explicitly call the REST API from a web request in the rule to get the project to access the properties. Before trying that, perhaps first try {{issue.project.properties."myPropertyName"}} to see if they are available.
Kind regards,
Bill
Hello,
I'll test this before accepting the answer.
Thanks for your reply.
Kind regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Luc,
what do you mean to get the jira property? What is your purpose?
If you mean to edit the property in automation there is a specific section to do that.
Hope it helps.
Best,
Alberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
With your answer I'm able to set a project property and with the answer of Bill Sheboy I'm able to read the project property.
Your answers combined give me what I need.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.