Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

field with in page (coming from a global template) should display label name else blank. Edited

How to update a field with in page (coming from a global template) should display label name else blank.

My Template creates pages, After a page is created and if the page has label 'Business_Case_Cancelled' a specific column on the page should display 'page label' else blank/ 'display comala workflow status'

1 answer

1 accepted

Hello  

What I understand is that you want to display a label in a field (I assume page properties) if a specific condition is met. I am not aware of any way to do this but perhaps you could try a slightly difference approach:

Create an additional state in your workflow which you can move to either with a transition or by using a label added trigger. You can then display the Comala Document Management page status on your page using a macro.

Try this example workflow using the workflow markup editor:

{workflow:name=Business Case Cancelled workflow}
{state:In Progress|approved=Approved|taskable=true}
{approval:Review|assignable=true}
{state}
{state:Approved|final=true|updated=In Progress|hideselection=true}
{state}
{state:Business Case Cancelled|submit=In Progress|hideselection=true|colour=#172B4D}
{state}
{trigger:labeladded|label=business_case_cancelled}
{set-state:Business Case Cancelled}
{trigger}
{workflow}

If you have any further questions please let me know or contact our friendly support team at https://support.comalatech.com

All the best

James
Senior Product Manager

Thank you @James Conway _Comalatech_ for providing the work around. this worked.

Can we just get only status of the workflow and nothing more with in a page? if so how can we do that? when I use workflow report macro it gives entire list like, page name, status, created date, updated date etc, I dont want the whole report but just the status.

Hi @Vanisree Valaboju 

We are working on new reporting capabilities that I think will help with this use case, if you go to Comala Document Management on the Atlassian Marketplace you can select 'Watch App' bottom right to receive notifications of new releases.

In the meantime you could explore using the Page Status Macro in combination with the Confluence Page Properties macro to create the report you need.

Kind regards

James
Senior Product Manager

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

177 views 0 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you